forked from regehr/calc-compiler
tiny language compiler for class
License
jubitaneja/calc-compiler
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Skeleton for "calc" language compiler. build the compiler like this: mkdir build cd build cmake .. -DLLVM_DIR=$LLVM -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Debug make run the compiler like this: ./calcc < input_file 2> out.ll run the generated code like this: clang ../driver.c out.ll -Wall -o calc
About
tiny language compiler for class
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- LLVM 100.0%