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
17
# RUN:
cargo run -p ylc -- -in=%s -o=out.o
gcc out.o -o a.exe
./a.exe

# IN:

define i32 @main() {
  entry:
	%1 = alloca i32
	%2 = i32 69
	store i32 %2, %1
	%3 = load i32 %1
	ret i32 %3
}

# EXIT_CODE=69