Awesome
ucc: untyped C compiler
ucc is a type-blurred C compiler
References
Source codes, blogs:
- Small C compilers:
- Resources for Amateur Compiler Writers
- Writing a C Compiler
- Building A C Compiler Type System: Part 1, Part 2
- Discussions on small C compilers: HN, HN, Reddit
- My First Fifteen Compilers
- Cranelift:
- Discussion and papers about cranelift and EBB: Reddit
- A treasure to learn how to use Cranelift: Cranelift backend for rustc
Books
- [ABI] System V Application Binary Interface. H.J. Lu et al. January 2, 2018.
- [C11] Programming Language C. ISO/IEC 9899:201x. N1548. Committee Draft - December 2, 2010.
- [MCD] Modern Compiler Design. Dick Grune et al. 2000.
- [TIGER] Modern Compiler Implement in ML. Andrew Appel. 1998.
- [DRAGON] Compilers: Principles, Techniques, and Tools. Alfred V. Aho et al. 2006.
- [EaC] Engineering a Compiler. Keith Cooper and Linda Torczon. 2011.
- [EoPL] Essential of Programming Languages. Daniel P. Friedman and Mitchell Wand. 2008.
- [PAPL] Programming and Programming Languages (origin: Programming Languages: Application and Interpretation). Shriram Krishnamurthi et al.
Papers
- [IP10] PEG-based transformer provides front-, middle and back-end stages in a simple compiler. Ian Piumarta. 2010. DOI 10.1145/1942793.1942796.
- [AG06] An Incremental Approach to Compiler Construction. Abdulaziz Ghuloum. 2006.