python-c-compiler

A simple c compiler made in python

tests

This is a college project that I’ve done with some friends of mine. Feel free to add things, messy around, and test as you want. If you find some improvements or bugs, please, open an Issue and then us know what’s wrong.

Run

To run the project you’ll need:

after that, just run:

python3 compiler.py your_file.c

Tests

To execute the tests, you’ll need:

with all dependencies installed, run:

make test

or 

python3 -m unittest tests/*.py