C2Go 0.1
C2Go is based on the c-to-c.py example from pycparser by Eli Bendersky, and uses pycparser extensively.
- Alexander Rødseth [email protected]
- License: BSD
C examples are from: http://www.cis.temple.edu/~ingargio/cis71/code/, except for "test.c"
Requirements
- pycparser
- ply
Required packages if you're on Arch Linux
- python-pycparser from [extra]
Improvements
If you wish to help out, here is one way:
- Enter the "doesnotworkyet" directory
- Select a c file
- Type
../try.sh name
, where name is the filename before ".c" - Observe the error messages when the generated Go file doesn't compile
- Edit the Go file to make it compile again
- Edit c2go.py to make it generate a Go file that does compile for the given test case
- Create a pull request
Pull requests are appreciated.
Changes
- April 2013 - Updated to use Go 1