Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 697 Bytes

readme.md

File metadata and controls

38 lines (24 loc) · 697 Bytes

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:

  • python3 installed
  • a c source code file

after that, just run:

python3 compiler.py your_file.c

Tests

To execute the tests, you'll need:

  • python3
  • python unittest
  • make (optional)

with all dependencies installed, run:

make test

or 

python3 -m unittest tests/*.py