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