Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 398 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 398 Bytes

CompileTheory

flex & bison based Compiler ForeGround

usage

this will clean rebuild Compiler

./buildCompiler.sh

this will compile ./test/test.swiftl & export binary automatically

./runCompiler.sh

how to export binary manually

./compiler ./test/test.swiftl

llc -march=x86-64 ./test/test.ir --filetype=obj -o ./test/test.o

clang -v ./test/test.o -o ./test/test