- hcc is a small toy compiler for C language.
- support C11 features
- arithmetic operations
- pointer arithmetic
- arrays
- struct
- a copy of struct
- local assignment
- argument
- return value
- a copy of struct
- enum
- type checker
- support type qualifiers
- implicit type conversions
- initializers
- scalar
- array
- struct
- designated initializers
- preprocessor
- include
- define
- self-hosting
- complex declarators
- alignment specifiers
- float-point values
- optimizations
- linear scan register allocation
- naive mem2reg
- constant folding
- copy propagation
- dead code elimination
- tail call optimization
- loop unwinding
- misc
- improved error messages
- better support of debuggers
- support targets other than x86_64