Re:Simple steps to implementing a programming language
by NaNaN on Monday May 05, 2014 @05:09AM
(#7697596)
Yet another LISP-like language parser tutorial. Just like Learning ??? Programming in ?? days. This is just the beginning, guys. LISP-like languages are not always great. (I'm not to look down this tutorial! Really!) I prefer imperative programming language parser tutorial. Every time I see such title, I will think of LISP.
[ Parent
| on HN ]
Re:Simple steps to implementing a programming language
by vidarh on Monday May 05, 2014 @07:43AM
(#7697936)
If you want an imperative tutorial then the Crenshaw tutorial [1] or Nicklaus Wirth's book Compiler Construction[2] are great starting points.
Re:Simple steps to implementing a programming language
by NaNaN on Monday May 05, 2014 @10:24AM
(#7698707)
Thank you. I have read Crenshaw's tutorial before, and I think I should get some time to translate it with modern language with unicode support to make more fun. :)
Re:Simple steps to implementing a programming language
by Elrac on Monday May 05, 2014 @09:20AM
(#7698379)
I'm admittedly nitpicking here, but I think "(non-)imperative" is not a useful label for characterizing Lisp-ish languages. Some Lisps, like Clojure, are rather functional; others, like Common Lisp, are considered imperative.
For the distinction you're looking for, I'd like to suggest "C-like" or "Algol-family" instead for those languages which work with sequences, conditionals, loops and probably braces and semicolons.