A compiler for the programming language Tony, written in C++, for the purposes of the ECE NTUA Compilers course.
- Navigate to
/srcdirectory - Run
make - Run
./do.sh [name].tonywith the name of your tony source code - The available compiler flags are:
-O: optimize intermediate code (LLVM)-i: print intermediate code instdout-f: print final code (assembly) instdout
- The program will be compiled (if flags where selected, the respective output will be printed in
stdout) and the final code will be executed.
- Arrays and Lists as function arguments
- Lists as function return type
- puts / puti