Hacker News new | ask | show | jobs
by konjin 1909 days ago
The AST and the parse tree are basically the same. You only need to rename the bracket nodes to their first element.