larmel / lacc

A simple, self-hosting C compiler
MIT License
916 stars 65 forks source link

What's missing from newer C versions? #25

Closed cesss closed 2 years ago

cesss commented 3 years ago

Hi! Thanks a lot for developing lacc! I like its simplicity, and also the fact that you can dump the IR instead of compiling. You mention that, in addition to C89, lacc also supports features from newer standards. And, by looking at the code, I found that you actually seem to support many features from recent C versions:

On the other hand, I found no traces of _Generic(), so it seems it's not supported yet. So this leads to my question: do you keep some list somewhere saying what's still missing for lacc being C11-compliant?

larmel commented 3 years ago

Short answer is no; I don't keep a list. But of course it would be relevant information to anyone wanting to actually use this, so maybe there will be a list at some point.