How to turn a token stream into a parse tree [closed]
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I have a lexer built that streams out tokens from in input but I'm not sure how to build the next step in the process - the parse tree. Does anybody have any good resources or examples on how to accomplish this? I would really recommend http://www.antlr.org/ and of course the classic Dragon Compilers book. For an easy language like JavaScript it's not hard to hand roll a recursive descent parser, but it's almost