HACKER Q&A
📣 sunday_serif

Which languages to build compilers for to learn through exploration?


Hi hacker news,

I am a professional software developer with a few years of experience.

I want to learn more about programming languages and their implementations.

I have started reading a handful of books and articles on the subject, but I want to engage with the material using more of a hands on approach. I am hoping to learn more about programming languages through self driven exploration by implementing a handful of increasingly complex languages.

Can anyone here recommend a list of programming languages that I could attempt to build compilers / interpreters for?

Preferably, the list would be ordered from easiest to implement (simple toy languages like brainfuck) to more complex and feature rich (maybe something like lisp)?

Thank you!


  👤 082349872349872 Accepted Answer ✓

  Brainfuck
  FORTH/Lisp/APL
  Pascal
  ML
  Smalltalk/Erlang/Haskell/Esterel
  Oz