Skip to content

Latest commit

 

History

History
executable file
·
25 lines (20 loc) · 409 Bytes

File metadata and controls

executable file
·
25 lines (20 loc) · 409 Bytes

C to Python Transpiler

A Linux only transpiler that translates C code into Python using bison and flex.

Dependencies

  • gcc
  • make
  • bison
  • flex

Compiling

$ make

Running

$ ./cmp <c-file>

If there are no errors, the program will output a python file, a .dot graph file and a txt file with all symbols to the 'output' folder.

Running Tests

$ ./tests