/LLVMCompiler

An LLVM-based compiler for C-like language.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

LLVMCompiler

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

Prerequisites

  • 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.