News for hackers. Stuff that matters.
Re:Compiler basics: Lisp to Assembly by junke on Monday November 26, 2018 @07:34AM (#18532850)
What do you mean?
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".
Re:Compiler basics: Lisp to Assembly by vkazanov on Monday November 26, 2018 @08:17AM (#18533081)
Maybe because compilers nowadays are mostly not about syntax? Parsers are the boring part.
Re:Compiler basics: Lisp to Assembly by eatonphil on Monday November 26, 2018 @09:05AM (#18533395)
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...