Re:Compiler basics: Lisp to Assembly
by junke on Monday November 26, 2018 @07:34AM
(#18532850)
What do you mean?
[ Parent
| on HN ]
The article is about "compiler basics", but it never mentions PLs are parsed according to context-free grammars, let alone giving one. Just throws a bunch of code and says "yeah this'll parse it".
Maybe because compilers nowadays are mostly not about syntax? Parsers are the boring part.
While many implementations of languages use parser generators according to context-free grammars, many still use hand-written parsers like mine. The major differences are safety, error-handling, and functionality. I discounted those up front in my post.
https://softwareengineering.stackexchange.com/questions/2502...