AuroraCollegeSDD2020 / 12SDD_Course_Information_v2

GNU General Public License v3.0
0 stars 0 forks source link

9.2.3-Implementation-of-software-solution#the-need-for-translation-to-machine-code-from-source-code #24

Open ProfStick opened 4 years ago

ProfStick commented 4 years ago

https://github.com/AuroraCollegeSDD/12SDD_Course_Information_v2/wiki/9.2.3-Implementation-of-software-solution#the-need-for-translation-to-machine-code-from-source-code

Students learn about:

• translation methods in software solutions including: – compilation – interpretation • advantages and disadvantages of each method • steps in the translation process – lexical analysis including token generation – syntactical analysis including parsing – code generation

Students learn to:

• explain the use of tokens and the role of the parsing process during the translation of source code to machine code • recognise that machine code is the only code able to be executed by a computer • identify the most appropriate translation method for a given situation • use the features of both a compiler and an interpreter in the implementation of a software solution

tynanmatthews commented 4 years ago

@HunterDJ03 issues I found in the first section comparing interpreted and compilation

Pretty good just a couple things to change here and there, also might want to mention the synchronous vs asynchronous nature of compiled vs interpreted and the advantages associated.

ProfStick commented 4 years ago

@tynanmatthews this is so close, can we close it today

ProfStick commented 4 years ago

@HunterDJ03 this sentence isn't really lexical analysis. Syntax errors are picked up in syntactical analysis. "Error messages may be produced by a lexical analysis as a result of incorrect syntax, naming, undeclared identifiers etc. This is because they don’t conform with the specific programming language's syntax." The analogy would be an english essay. Lexical analysis would make sure all the words and punctuation marks were actual 'english' words and punctuation, syntactical analysis would in the right way.