3 ms·
> C is almost LR(1), Does that include the C preprocessor? Somehow, I recall someone here (maybe it was user walterbright) suggesting that implementing a C pr
by delhanty 3y ago
> C is almost LR(1),
Does that include the C preprocessor?
Somehow, I recall someone here (maybe it was user walterbright) suggesting that implementing a C preprocessor was a lot of work - maybe months - so one might consider using Facebook's MIT licensed preprocessor:
https://github.com/facebookresearch/CParser https://github.com/facebookresearch/CParser
- User23 3y agoThe C preprocessor is a purely functional language![1] [1] https://web.archive.org/web/20230714010215/http://conal.net/blog/posts/the-c-language-is-purely-functional https://web.archive.org/web/20230714010215/http://conal.net/...