Mewa CC

Use Lua to write compiler front-ends of statically-typed languages for LLVM as back-end

  • Mewa is a compiler-compiler for prototyping of compiler front-ends using LLVM IR or any other comparable intermediate representation as back-end.
  • The main emphasis of the project is not on the parser generator but on the support for defining a type system of a modern programming language.
  • A Lua module written for you in C++ provides some assistance to define your own type system and to generate code.
  • An example implementation of a non trivial compiler and an FAQ exists to help you in problem-solving.

Read more …