Ygen 0.1.2

Yet another code generation libary like LLVM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: 
cargo run -p ylc -- -in=%s -o=out.o
gcc out.o -o a.exe
./a.exe
# IN:
const const0 = "Hello World!\n\00"

define i32 @main() {
 entry:
    %0 = i32 5
    br ret
  ret:
    ret i32 %0
}

# EXIT_CODE=5