Programming language transpiler designed to fix existing issues and introduce new features without changing the old-style C syntax.
#includechanged toimporttypedef struct X Xchanged totype Xtypedef enum X Xchanged toenum Xtypedef A Bchanged toalias B = A
Actually, there are more, but they aren't listed yet.
- Auto-generated inline constructors for every type
- Auto-generated headers for each source file
- More strict type checking
- Interoperability with C using the
import nativestatement - Generic types
- Generic methods
- Safer unions
- Expression statements
x = if (a) b else cinstead of conditional expressionsx = a ? b : c - Auto-generated
free()statements for allocated memory - Support for C type qualifiers such as
static,extern,inline
See BUILD.md.