It’s nice to see a step-by-step guide, but I’d much rather use a language like SML, OCaml, or Haskell for this. It’s hard to think of a better application for functional languages than compiler authorship. Strings go in, programs come out – a perfect functional “tube” without side-effects. Algebraic data types and pattern-matching make the task even easier!
It’s nice to see a step-by-step guide, but I’d much rather use a language like SML, OCaml, or Haskell for this. It’s hard to think of a better application for functional languages than compiler authorship. Strings go in, programs come out – a perfect functional “tube” without side-effects. Algebraic data types and pattern-matching make the task even easier!