Re:Compiler basics: Lisp to Assembly
by duck2 on Monday November 26, 2018 @07:44AM
(#18532915)
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".
[ Parent
| on HN ]
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...