Giter Site home page Giter Site logo

salvatore-bufi / c2golangtranspiler Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 926 KB

implementation of a source-to-source compiler from C to Golang

License: GNU Affero General Public License v3.0

Makefile 0.19% C 82.92% Yacc 8.95% Lex 2.33% Go 5.61%
c go golang transpiler compiler

c2golangtranspiler's Introduction

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/salvatore-bufi/C2GolangTranspiler.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

c2golangtranspiler's People

Contributors

salvatore-bufi avatar

Stargazers

Daniele Malitesta avatar  avatar Marcin Bielak avatar Marcelo Jara Falconi avatar

Watchers

Angela Di Fazio avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.