/c-to-go

Primary LanguageCGNU Affero General Public License v3.0AGPL-3.0

gopher1

C2Go

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.

Prerequisites

  • flex (2.6.4 and up)
  • bison (3.0.4 and up)
  • gcc (7.5.0 and up)
  • make (4.1 and up)

Installation

To create the executable:

git clone https://github.com/a-difazio/c-to-go.git
cd c-to-go
make

Usage

For basic usage:

./compiler {input_file.c}

For a complete documentation.

Contact

Angela Di Fazio

Salvatore Bufi

gopher1