Skip to content

A compiler for Monga (C subset) using Lex, Yacc and LLVM

Notifications You must be signed in to change notification settings

renan061/monga-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monga Language Compiler

Monga is a subset of C, with Java-like arrays.

Description Command
Create binary make
Test make test
Test scanner make scanner_test
Test parser make parser_test
Test AST / types make ast_test
Test code generation make codegen_test
Clean make clean

Obs1.: To run any of the binaries you must redirect stdin (binary < INPUT_FILE).

Obs2.: The Makefile and the test scripts use clang to compile the .ll file generated by mongacompiler.

About

A compiler for Monga (C subset) using Lex, Yacc and LLVM

Resources

Stars

Watchers

Forks

Packages

No packages published