The second edition of this textbook has been fully revised and adds material about loop optimisation, function call optimisation and dataflow analysis. It presents techniques for making realistic compilers for simple programming languages, using techniques that are close to those used in "real" compilers, albeit in places slightly simplified for presentation purposes. All phases required for translating a high-level language to symbolic machine language are covered, including lexing, parsing, type checking, intermediate-code generation, machine-code generation, register allocation and optimisation, interpretation is covered briefly.
Aiming to be neutral with respect to implementation languages, algorithms are presented in pseudo-code rather than in any specific programming language, but suggestions are in many cases given for how these can be realised in different language flavours.
Maksa helposti kortilla, Klarnalla, Apple Paylla tai Google Paylla. Etkö ole tyytyväinen? Sinulla on aina 14 päivän palautusoikeus. Lue lisää ehdoistamme. Jos sinulla on kysyttävää, lähetä meille sähköpostia osoitteeseen hello@memmo.org.
Memmo tekee opiskelusta helpompaa – missä päin maailmaa ikinä oletkin. Meillä yhdistät kurssikirjat ja fiksut opiskelutyökalut yhteen paikkaan: tiivistelmät, visat, podcastit ja muistikortit. Ja sitten Ted, opiskelukaverisi, joka vastaa kaikkeen, mitä ikinä mietitkin. Yli 50 000 opiskelijaa opiskelee jo täällä – rakennettu auttamaan sinua oppimaan nopeammin ja stressaamaan vähemmän.