Turning source code into something a processor can run takes several stages, and this topic covers each. You will study lexical analysis, syntax analysis, semantic analysis, code generation and optimisation, and what happens to the program at each stage. Backus-Naur Form and syntax diagrams are used to define the grammar of a language formally. The topic also covers reverse Polish notation and how an expression in that form is evaluated using a stack.
๐ Sign in to view this topic's basics.
