Blogs / Personal blogs

Ever wanted to make your own programming language or wondered how they are designed and built?

Popular posts
15
Total points
2,517
HN comments
547
Rank
#611 personal

Visit craftinginterpreters.com → On Hacker News Jun 2017 – Apr 2022

Programming Languages 15Software Engineering 13

1

Crafting Interpreters

We’ll spend the rest of this book illuminating every dark and sundry corner of the Lox language, but it seems cruel to have you immediately start grinding out code for the interpreter without at least a glimpse of what we’re going to end up with.

4

A Virtual Machine

Magicians protect their secrets not because the secrets are large and important, but because they are so small and trivial. The wonderful effects created on stage are often the result of a secret so absurd that the magician would be embarrassed to admit that that was how it was done.

5

Garbage Collection

We say Lox is a “high-level” language because it frees programmers from worrying about details irrelevant to the problem they’re solving. The user becomes an executive, giving the machine abstract goals and letting the lowly computer figure out how to get there.