Hacker News new | past | comments | ask | show | jobs | submit login
A (backtracking-aware) parsing table for expressions of the C language
3 points by unusualcool 14 days ago | hide | past | favorite
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).


I hope you enjoy it!

Applications are open for YC Summer 2021

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact