Repository navigation
v3.0.0
EZ 3.0 is a ground-up rewrite. The Go interpreter is gone. In its place: a full C compiler backend that takes .ez source, emits C, and produces native binaries.
Highlights
- Native compilation -
.ezto C to binary. Real native code. - Scope-based memory management - arena allocators per scope, automatic cleanup, no garbage collector.
- Pointers -
^Typesyntax,new()returns pointers,addr(), auto-deref on struct fields. - Functions as first-class types -
func(int, int) -> intsignatures, store them, pass them, return them. - C interop -
import c"stdio.h", call C functions withc.func(). - Wide integers -
i256/u256new,i128/u128reimplemented as portable structs. - 27 stdlib modules on native code - plus new modules:
@net,@atomic,@mem,@fmt,@sync,@channels. - Wildcard types -
?for generic-style functions, monomorphised per call site. - Single embedded binary - one
ezbinary ships everything. - 1,200+ tests - unit, e2e, integration, sanitizer builds.
Breaking changes
temprenamed tomut@stdremoved - all functions are builtins nownew()returns^Structpointersbare funcremoved - use full signatures:func(int) -> intimport & usereplaced byimport and usenilis a value, not a typeez runremoved - useez <file.ez>
See CHANGELOG.md for the full curated changelog.
Installation
curl -fsSL https://raw.githubusercontent.com/SchoolyB/EZ/main/install.sh | bashOr build from source:
git clone https://github.com/SchoolyB/EZ.git && cd EZ
make build && make install