This project is an implementation of a source-to-source compiler from C to Golang for the course Formal Languages and Compiler at Polytechnic University of Bari.
flex
(2.6.4 and up)bison
(3.0.4 and up)gcc
(7.5.0 and up)make
(4.1 and up)
To create the executable:
git clone https://github.com/a-difazio/c-to-go.git
cd c-to-go
make
For basic usage:
./compiler {input_file.c}
For a complete documentation.