Re:Bicameral, Not Homoiconic
by aidenn0 on Monday December 02, 2024 @01:18PM
(#42298773)
The output of the Lisp reader is not an AST. It is completely unaware of many syntactical rules of the language, and is absent of any context. The equivalent in a C like language would be a stage that quite willingly generates a tree for the following:
Which most compilers will never construct a tree for despite it following some unifying rules for the structure of code in a C-like language (braces and parentheses are balanced, statement has a semicolon after it, &c.).
[ Parent
| on HN ]
There are no comments on this comment yet.