Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 189 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 189 Bytes

rubyC

An incomplete C compiler (x86) written in Ruby

$ ruby main.rb

compiles the "C" code in input02 to x86 assembly

$ cat out.s

$ cc -o out out.s

$ ./out