Skip to main content

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.

Source Distribution

c2go-0.2.3.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

c2go-0.2.3-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file c2go-0.2.3.tar.gz.

File metadata

  • Download URL: c2go-0.2.3.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for c2go-0.2.3.tar.gz
Algorithm Hash digest
SHA256 74c79431c7115f76e6322ced1eb9e91739c2197fe9f8d88b9a9e6764a1e617d7
MD5 400e6a9cf2a530bcbd82994643ee4188
BLAKE2b-256 9361931e0b50cecf33a5248a5a61dfdaa554a23852c4fb3f081b7f69aca64ca8

See more details on using hashes here.

File details

Details for the file c2go-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: c2go-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for c2go-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1bd7b00598c82a7e2919cc993b51bd74e4a063ce1c8437d7cb6e68eb89f60eba
MD5 3e3ddc6755a55d0a42c13914cd3aca73
BLAKE2b-256 0d6ea38afe3269866247f93e04d0b4cd72b071865d049763369632166b25a445

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page