News for hackers. Stuff that matters.
Re:Lessons learned building a toy compiler by jaseemabid on Friday July 07, 2017 @03:28PM (#14721320)
You are right and calling it quintessential might be too much. Local lexing seems interesting, but the approach I used is called combinatorial parsing and it does parsing and lexing in one go because they are so intertwined anyway. This also lets me get to the AST in just one pass over the input string with very little backtracking.

I'll update the post with this feedback.Thank you.

There are no comments on this comment yet.