LL top-down parser, from CST to AST
问题 I am currently learning about syntax analysis, and more especially, top-down parsing. I know the terminology and the difference with bottom-up LR parsers, and since top-down LL parsers are easier to implement by hand, I am looking forward to make my own. I have seen two kinds of approach: The recursive-descent one using a collection of recursive functions. The stack-based and table-driven automaton as shown here on Wikipedia. I am more interested by the latter, for its power and its