Re:Writing a C compiler in 500 lines of Python
by zabzonk on Monday September 04, 2023 @04:07PM
(#37384445)
using recursive descent, you don't need to build an ast
[ Parent
| on HN ]
Re:Writing a C compiler in 500 lines of Python
by jjtheblunt on Monday September 04, 2023 @04:25PM
(#37384640)
the call stack during recursive descent is an ephemeral ast, for the recursive descent parsers I've written.