Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

c to go conversion

Project description

C2Go is based on the c-to-c.py example from pycparser by Eli Bendersky, and uses pycparser extensively.

The C examples are from: http://www.cis.temple.edu/~ingargio/cis71/code/.

Requirements

  • python 2 or python 3
  • pycparser
  • ply

Installation

c2go.py can be installed as ie. /usr/bin/c2go.

Usage

The utility takes a filename as the first argument.

The parts of the C code that C2GO is unable to translate will be marked with a /* C2GO: ? */ comment in the resulting output.

Changes

  • 2011-08-30 - Initial commit
  • 2013-04-29 - Update for Go 1
  • 2014-05-07 - Minor changes
  • 2015-11-12 - Minor fix

General information

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for c2go, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size c2go-0.2.3-py3-none-any.whl (15.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size c2go-0.2.3.tar.gz (28.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page