This is an implementation of the Kaleidoscope language with some C-like features based on the official tutorial of LLVM.
The lexer and the parser is implemented with Yacc and Flex.
All the techniques are taken from the official LLVM tutorial: here
- Make sure that you have set the include path of the LLVM & Clang.
- Make sure that you have set the path of the CMake configuration file for LLVM & Clang in CMakeLists.txt.