gligneul / Monga-Language

C subset compiler using Flex, Yacc and LLVM-C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monga Language

Compiling and running tests:

make tests

Running benchmarks:

make benchmarks

Running examples:

Example:
    ./bin/monga < examples/sort.mng

Usage:
    monga [options] < [input]

Options:
    -h             Shows this message
    -bc            Exports the llvm bytecode file
    -dump          Dumps the llvm module
    -no-execution  Doesn't execute the monga program

About

C subset compiler using Flex, Yacc and LLVM-C


Languages

Language:C 81.3%Language:Yacc 8.1%Language:Lex 3.7%Language:Makefile 2.8%Language:Assembly 1.3%Language:LLVM 1.1%Language:C++ 1.0%Language:Shell 0.8%