unusualcool
What's your opinion on adding generic functions (parametric polymorphism) in C?
I'm working on a research project about C and, at the moment, I'm investigating the possibility of introducing/proposing generic functions (and parametric polymorphism) to the language. I can't yet provide any technicalities, but the idea is to have a design along with C style/look-and-feel — think of it more as an extension to C11's `_Generic', than of C++ templates.The project motivation is...
Dumping a C program’s AST with Psyche-C (and Clang's AST correlation)
A (backtracking-aware) parsing table for expressions of the C language
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,...