• Sign Up
  • Archive

Compiler Creation Step-by-Step

Imagesource: https://unsplash.com/

Compiler construction is not necessarily one of the favorite disciplines of most CS students. On the other hand, you only really fully understand the functionality of the machines, we love so much, once you've put together your very own compiler.

Lex and yacc ... what memories 😵‍💫.

Yair Haimovitch also known as @yairhaimo approaches the subject from a completely new angle. In his browser-based tutorial, he gives a basic but structured and very clear introduction to the topic. The reader builds a compiler, that translates a subset of Lisp to Javascript. The usefulness of this in production is completely left aside, but if you replace Lisp with X and Javascript with Assembly, you are only one assembler and linker step away from executable binary of your own language.

The whole project is based on Javascript, which is also used for the implementation of the compiler in the interactive examples.

Great lecture. Should be something for anyone who has always been asleep in "compiler construction“, or just fancies the subject. (Who does not? 🤓)

Share the signal:

Read the full newsletter Issue #67 of 8bitnews.io: 8-Bit Symphony

More from #67

Don't want to miss updates like that? Subscribe below and receive regular content that we only share with our subscribers.

Don't Miss

Sign up for our retro & computing magazine and get content like that regularly. Relevant. Up to date. Free.

We send our subscribers one update twice a month. Retrocomputing topics well curated by a team who love machines of the 70s, 80s and 90s as much as you do.

  • Terms
  • Privacy
  • Imprint