Ask HN: Which languages to build compilers for to learn through exploration?

3 points by sunday_serif ↗ HN
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!

1 comment

[ 2.8 ms ] story [ 16.0 ms ] thread

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