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
Alexander F Rødseth xyproto@archlinux.org
License: BSD
Pull requests are appreciated.
Metadata
Release files for c2go 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| c2go-0.2.3.tar.gz | 28.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| c2go-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.0 kB
Release files / c2go-0.2.3.tar.gz
| Download URL | c2go-0.2.3.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74c79431c7115f76e6322ced1eb9e91739c2197fe9f8d88b9a9e6764a1e617d7
|
|
BLAKE2b-256 checksum How to use checksums |
9361931e0b50cecf33a5248a5a61dfdaa554a23852c4fb3f081b7f69aca64ca8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / c2go-0.2.3-py3-none-any.whl
| Download URL | c2go-0.2.3-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bd7b00598c82a7e2919cc993b51bd74e4a063ce1c8437d7cb6e68eb89f60eba
|
|
BLAKE2b-256 checksum How to use checksums |
0d6ea38afe3269866247f93e04d0b4cd72b071865d049763369632166b25a445
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |