A C parser and compiler based on lalrpop A very limited subset of C is implemented, but you can use standard C libraries.
For grammar, go to c.lalrpop file.
- Fill in asm emission
- Extern function declaration
- Function declaration handling
- Error handling
- Nice error handling
- Comment support
- C preprocessor support
- Optimization pass
- Scopes
- RBP - Base pointer - address of start of current stack frame
- RSP - Stack pointer - address of start top of the stack
- C calling convention for 64bit https://aaronbloomfield.github.io/pdr/book/x86-64bit-ccc-chapter.pdf