Skip to content

sinato/rcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a toy compiler to learn rust/LLVM.

Usage

# Running tests
$ cargo test -- --tset-threads=1

# compiling <code>
$ cargo build
$ ./target/debug/rcc "<code>"

Example

$ cargo build
$ ./target/debug/rcc "10"
$ llvm-as compiled.ll
$ lli compiled.bc
$ echo $?  # output returned value

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages