Skip to content

About

A toy c compiler, written in Rust https://norasandler.com/2017/11/29/Write-a-Compiler.html#anchor3

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

A toy c compiler, written in Rust https://norasandler.com/2017/11/29/Write-a-Compiler.html#anchor3

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages