Projects
View on GitHub
utam0k/r9cc
About
Toy C compiler
Languages & RuntimesMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalr9cc C Compiler
r9cc is a toy project of compiler.
This is the 9cc Rust version.
Usage
Rust 2018 edition is required.
- Compile
$ cargo run c_file_path
- Test
$ make test
Current status
- Four arithmetic operations
- Logical operation
- Local variable
- Global variable
- Function call
- Function definition
- Array
- Pointer
- ++/--
- char/int type
- String literal
- Strunct
- extern
- Comment
- #include
- #define
- __LINE__
Design
If you want more information, I think you should refer to README.md of 9cc.
Reference
Explore related projects
Loading…