c2go

⚖️ A tool for transpiling C to Go.

MIT License

Stars
2.1K
Committers
34

Bot releases are hidden (Show)

c2go - v0.9.2 Indium 2017-04-25

Published by elliotchance over 7 years ago

  • Added support for switch. (#66)
  • Split ast_test.go into smaller test files. (#68)
c2go - v0.9.1 Indium 2017-04-25

Published by elliotchance over 7 years ago

  • Added support for stdbool.h (#44, #65)
  • Combined integration tests into few files to make testing much faster (#47)
c2go - v0.9.0 Indium 2017-04-24

Published by elliotchance over 7 years ago

  • Added support for ctype.h.
c2go - v0.8.9 Hafnium 2017-04-24

Published by elliotchance over 7 years ago

  • Added support for puts() (#58, #59) - @jorbs
c2go - v0.8.8 Hafnium 2017-04-22

Published by elliotchance over 7 years ago

  • Add go fmt checking on Travis (#52) - @pravj
  • Report an error if the input C file does not exist (#53) - @jorbs
  • Split code into multiple packages.
  • Unit and integration tests are now separated (see README).
c2go - v0.8.7 Hafnium 2017-04-18

Published by elliotchance over 7 years ago

This is a refactoring release, by @bongo227.

  • Moved many of the files into an ast package.
  • Cleaned up a lot of code surrounding the ast package.
c2go - v0.8.6 Hafnium 2017-04-16

Published by elliotchance over 7 years ago

  • Added LICENSE and cleaned up some of the README.
c2go - v0.8.5 Hafnium 2017-04-16

Published by elliotchance over 7 years ago

  • Removed run-tests.sh (#35) - @bongo227
c2go - v0.8.4 Hafnium 2017-04-16

Published by elliotchance over 7 years ago

  • Better handling of <<<NULL>>> nodes in the clang AST. This fixes some bugs allows ifStmt and ForStmt to be handled much better.
  • Added support for for(;;) - @jnjackins
  • Generally better panic messages for many scenarios.
  • Fixed some new cases for FieldDecl and TypedefDecl.
  • A new CLI option -print-ast makes it easier for debugging - @jnjackins
c2go - v0.8.3 Hafnium 2017-04-14

Published by elliotchance over 7 years ago

  • This is a large refactoring release to split the rendering across all the files. It does not change any functionality.
c2go - v0.8.2 Hafnium 2017-04-14

Published by elliotchance over 7 years ago

  • Moved all core code into the main package.
c2go - v0.8.1 Hafnium 2017-04-14

Published by elliotchance over 7 years ago

c2go - v0.8.0 Hafnium 2017-04-14

Published by elliotchance over 7 years ago

  • Now entirely written in Go. This was a direct translation from the Python, so there is still a lot to clean up.
  • We now have a c2go binary and no python dependencies!
c2go - v0.7.0 Gadolinium 2017-04-12

Published by elliotchance over 7 years ago

  • ast2json.py has been completely rewritten in Go!
  • The output of c2go.py is now just the Go code (no messy extra files).
  • c2go can be installed with go get now.
  • Any platform dependant or independent go files are now packages.
c2go - v0.6.0 Fermium 2017-04-02

Published by elliotchance over 7 years ago

  • Added support for assert.h and the assert() macro.
  • Tests are now grouped by the header file they belong to.
  • Now recognises nil values from a 0 where appropriate.
  • Added __PRETTY_FUNCTION__ and __func__, but they are fixed values right now.
  • Better support for ternary expressions so that only the true or false branch is run, not both.
  • run-tests.sh now compares the exit code from each executable.
  • run-tests.sh now compares the stderr and stdout from each executable.
  • run-tests.sh can now take more than one argument to run multiple tests.
c2go - v0.5.0 Einsteinium 2017-04-01

Published by elliotchance over 7 years ago

  • Added support for multiple versions of clang: 3.4, 3.6, 3.7, 3.8, and 3.9.
c2go - v0.4.1 Darmstadtium 2017-03-31

Published by elliotchance over 7 years ago

  • Added support for Python 3 on Mac and Linux.
c2go - v0.4.0 Darmstadtium 2017-03-27

Published by elliotchance over 7 years ago

  • Added support for math.h
  • c2go.py now outputs the files to be compiled by Go, rather than Go source.
  • Added math functions: acos, asin, atan, atan2, ceil, cos, cosh, exp, fabs, floor, fmod, ldexp, log, log10, pow, sin, sinh, sort, tan, tanh.
  • Heavily refactored the C to Go data type system to be much better.
c2go - v0.3.0 Cadmium 2017-03-26

Published by elliotchance over 7 years ago

  • Added support for linux.
c2go - v0.2.1 Barium 2017-03-25

Published by elliotchance over 7 years ago

  • Added Travis CI. At the moment it is just running on Mac OS, but other operating systems will come shortly.