c2go

⚖️ A tool for transpiling C to Go.

MIT License

Stars
2.1K
Committers
34

Bot releases are visible (Hide)

c2go - v0.13.2 Neodymium 2017-06-05

Published by elliotchance over 7 years ago

  • Fixed bug with !noarch.CStringIsNull causing panic. (#151, #152) - @elliotchance
  • Minor bug fixes with identities and types. (#153) - @elliotchance
  • Handle signed integer shift counts. (#155) - @x-tyger
  • Updates to AST generation. (#161) - @x-tyger
c2go - v0.13.1 Neodymium 2017-06-04

Published by elliotchance over 7 years ago

  • Handle '__builtin_signbit*' functions. (#150) - @x-tyger
c2go - v0.13.0 Neodymium 2017-06-03

Published by elliotchance over 7 years ago

  • All integration tests have been refactored to output TAP format. (#126, #128)
  • Improved math.h. Especially when dealing with special values like inf, NaN and very large/small numbers. (#128)
  • Some integration files have been moved to a new examples directory. (#128)
  • Bug fixes and more comprehensive test matrix for ctype.h. (#128)
c2go - v0.12.5 Magnesium 2017-06-03

Published by elliotchance over 7 years ago

  • Transpile nils to an Ident instead of a BasicLit (#148) - @x-tyger
  • Try to resolve correct type for struct field. (#49, #149) - @elliotchance
c2go - v0.12.4 Magnesium 2017-05-31

Published by elliotchance over 7 years ago

  • Fixed a bug that might cause the formatter to not be able to produce Go. (#142) - @elliotchance
  • Added some test packages that were not being run on Travis CI. (#144) - @elliotchance
  • Transpile ternary operator to a typed closure. (#129, #147) - @x-tyger
c2go - v0.12.3 Magnesium 2017-05-30

Published by elliotchance over 7 years ago

  • main() argument names are no longer fixed. (#86, #140) - @elliotchance
  • Messages are now written to the output file. (#138, #141) - @elliotchance
c2go - v0.12.2 Magnesium 2017-05-29

Published by elliotchance over 7 years ago

  • Add flag to set the generated package name. (#125, #135) - @pravj
  • Fixing cli usage duplication when using -h or --help flags. (#136, #139) - @jorbs
c2go - v0.12.1 Magnesium 2017-05-28

Published by elliotchance over 7 years ago

  • CLI flags now contain a mode, like c2go transpile. (#74, #130) - @jorbs
  • import are not grouped in the output file. (#119, #131) - @pravj
c2go - v0.12.0 Magnesium 2017-05-23

Published by elliotchance over 7 years ago

  • Added support for dynamic memory allocation, malloc() and calloc(). (#117)
  • All pointers are now treated as slices.
c2go - v0.11.3 Lanthanum 2017-05-20

Published by elliotchance over 7 years ago

  • c2go now uses much more sane error reporting. Rather than panicking it will print some useful warning information in a comment and try to proceed. (#112)
c2go - v0.11.2 Lanthanum 2017-05-20

Published by elliotchance over 7 years ago

  • Added more clang AST nodes so now it is able to parse the the complete SQLite3 code (#110)
  • Added -verbose CLI option to output function prototypes as comments (#111)
c2go - v0.11.1 Lanthanum 2017-05-15

Published by elliotchance over 7 years ago

  • Added support for sizeof (#109)
c2go - v0.11.0 Lanthanum 2017-05-14

Published by elliotchance over 7 years ago

  • Most stdio.h functions are now supported. (#88)
c2go - v0.10.5 Krypton 2017-05-14

Published by elliotchance over 7 years ago

  • Fixed bug where escaped characters (like newline) were not handled properly (#108) - @x-tyger
c2go - v0.10.4 Krypton 2017-05-12

Published by elliotchance over 7 years ago

  • Implements compound assignment operators (#98) - @x-tyger
  • Handle 'unsigned long long' maximum value (#99) - @x-tyger
c2go - v0.10.3 Krypton 2017-05-11

Published by elliotchance over 7 years ago

  • Use os.Exit() for ReturnStmt in main() (#79, #97) - @x-tyger
c2go - v0.10.2 Krypton 2017-05-11

Published by elliotchance over 7 years ago

  • Added support for continue statements (#96) - @x-tyger
c2go - v0.10.1 Krypton 2017-05-09

Published by elliotchance over 7 years ago

  • Added support for do statements (#91) - @x-tyger
c2go - v0.10.0 Krypton 2017-05-09

Published by elliotchance over 7 years ago

  • Huge refactoring so that it transpires between the Clang AST and Go AST instead of building the Go source (#74)
  • Handle 'referenced' in EnumConstantDecl (#87) - @x-tyger
  • Handle special character literals (#82, #80) - @x-tyger
c2go - v0.9.3 Indium 2017-04-26

Published by elliotchance over 7 years ago

  • Added -version flag. (#70)