Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Releases: goplus/c2go

Release v0.3.8

16 Apr 06:11
816db3d
Compare
Choose a tag to compare

Release v0.3.7

Release v0.3.6

09 Apr 12:34
Compare
Choose a tag to compare

new features:

  • cl: unary +
  • cl: return support auto-type-convert
  • cl: add __builtin_memset_chk
  • cl: atomic_store_n (AtomicExpr)
  • ctypes: Enum, Func, NewFunc, NewPointer, Identical
  • ctypes: ParseType: spport valist

changes:

  • cl: newVarAndInit bugfix: T a = T(...)
  • cl: compileImplicitCastExpr: FloatingCast
  • cl: compileImplicitCastExpr: toVoid
  • cl: isPointer => isNilComparable: support fn ptr
  • cl: compileStructOrUnion: allow decl struct without body multiple times
  • cl: gox v1.9.16: DerefType for bitfield
  • cl: decl_builtin: use fn table
  • ctypes: types.MangledName for struct/union

Release v0.3.5

08 Apr 07:57
Compare
Choose a tag to compare

new features:

  • cl: initLit (array in struct, etc.)
  • cl: support noop stmt: (void)0;
  • cl: support goto label
  • cl: support VAArgExpr

changes:

  • cl: parseType fix - struct may decl without body
  • cl: parseType fix - pointer to fn pointer
  • cl: parseType - support anonymous type
  • cl: castToBoolExpr: support ptr
  • cl: assign auto-type-convert

Release v0.3.3

07 Apr 05:15
Compare
Choose a tag to compare

new features:

  • cmd/c2go: support c2go <sourceDir>

changes:

  • cl: compileTypedef ignore if equal name
  • cl: compileStructOrUnion: don't initType if not completeDefinition
  • cl: compileAssignOpExpr: should as a value
  • gox v1.9.15

Release v0.3.2

05 Apr 12:33
Compare
Choose a tag to compare

new features:

  • auto type convert in many case, eg. binaryOp, assignOp, conditionalOp, etc.
  • *fn equal to fn
  • binaryOp: ptr <cmp> ptr
  • add qsort (from musl, a famous libc distribution) example

changes:

  • long => int

image

Release v0.3.1

05 Apr 02:25
Compare
Choose a tag to compare

new features:

  • complex type
  • Imaginary Literal
  • Operator Assignment: a<op>=b

changes:

  • int => int32
  • compileSwitchStmt bug fix: default

Release v0.3.0

05 Apr 00:20
Compare
Choose a tag to compare

new features:

  • switch, while
  • break/continue
  • Array Member: a[n]
  • Comma
  • Ternary Conditional: cond?a:b

Release v0.2.2

04 Apr 15:50
Compare
Choose a tag to compare
  • support Array Pointer
  • initArray, initStruct, initUnion
  • README: add "Supported C Syntax" section

Release v0.2.1

03 Apr 14:47
Compare
Choose a tag to compare
  • Support bit field.

image