-
Notifications
You must be signed in to change notification settings - Fork 15
tiny language compiler for class
License
regehr/calc-compiler
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