Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lucasthormann/monkey-c-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 

Repository files navigation

A Compiler For Monkeys πŸ’

This compiler implementation was developed for CS 4318 @ Texas State University in the year 2022. This software takes monkeyC code and compiles it into assembly.

Dependencies:

  • GCC
  • Ubuntu 22.04 LTS or later
  • Lex
  • Yacc

Target Info:

Running The Code:

make clean && make
./obj/mcc ./test/*test file*.mC
  • If you'd like to analyze the abstract syntax tree or the symbol table of the generated assembly simply add the --ast or --sym flags as seen below.
./obj/mcc --ast ./test/testVals.mC

or

./obj/mcc --sym ./test/testVals.mC

About

A compiler written by a monkey for monkeys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published