New ask Hacker News story: A (backtracking-aware) parsing table for expressions of the C language

A (backtracking-aware) parsing table for expressions of the C language
2 by unusualcool | 0 comments on Hacker News.
This is a table I created to aid me during a rewrite of the Psyche-C project's parser (and underlying grammar). I'm not sure whether the table's "encoding" will be clear to everyone, though — if not, please comment on the document. Another reason for this post is to invite you to check out the project's website (the link is on the document) for it's being renewed. From a usability standpoint, the interesting changes are a new Roslyn-like API and a much more refined AST (closer to that of LLVM's Clang). https://ift.tt/2ZFFxFX I hope you enjoy it!

Comments