11
Preprocessors and Transpilers
This chapter returns us from our detour into IDEs back to the quest of generating output from our source program that can run. There are many ways to produce executable output from a programming language, and rather than pick just one in order to adhere to a rigid sequential narrative, this and the next couple chapters are a bit like a choose-your-own-adventure book that explores three ways of producing an executable: this chapter discusses translation to another high-level language, while Chapter 12 presents translation to a lower-level software instruction set called a bytecode machine, and Chapter 13 illustrates translation to native code that runs on the hardware’s instruction set.
The ordering of these three ...
Get Build Your Own Programming Language - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.