Skip to content

ecumene/rust-c-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning to write compilers

Following this tutorial

Running

Compile

cargo run -- test.c > test.s
gcc test.s -o test

Run and Print Exit Code

./test
echo $?

Testing Code

cargo test

or

cargo watch -x test

to hotreload

Releases

No releases published

Packages

No packages published