Programming language transpiler designed to fix existing issues and introduce new features without changing the old-style C syntax.
#include
changed toimport
typedef struct X X
changed totype X
typedef enum X X
changed toenum X
typedef A B
changed 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 native
statement - Generic types
- Generic methods
- Safer unions
- Expression statements
x = if (a) b else c
instead 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.