01
THE CORE
No garbage collector. Explicit memory. Typed values. Small core.
THE STATUS
Interpreter is reference. Cranelift JIT is Phase 15 active: 155 fixtures, 66 PASS, 89 SKIP, 0 PARITY_FAILs.
02
NOW
Functions
Stable in the interpreter. Direct calls lower in the JIT.
Control flow
if/else and for lower. when JIT lowering is in progress.
Structs and methods
Struct fields lower. Method calls stay in progress.
Arrays
Fixed-size arrays work. JIT read/write fixtures pass.
Generics
Stable in the interpreter. JIT work remains.
Result<T>
Ok, Err, and ? work in the interpreter.
Imports
#![imports] resolves multi-file programs.
Testing
#[test], --test, assert, assert_eq.
Backend
Interpreter reference. Cranelift JIT active, parity-gated, incomplete.
LATER / IN PROGRESS
Type inference
Local inference works. Broader inference is in progress.
JIT gaps
when, methods, f64 ops, generics, Result, strings.
strref surface
Boundary type. Constructor syntax is unsettled.
C interop
Post-0.1.
Standard library
Minimal core first.
03
git clone https://github.com/COMMENTERTHE9/Cx_lang.git
# clone
git clone https://github.com/COMMENTERTHE9/Cx_lang.git
cd Cx_lang
# build with JIT feature
cargo build --features jit
# run interpreter
cargo run -- examples/hello.cx
# run Cranelift JIT
cargo run --features jit -- --backend=cranelift examples/hello.cx
Matches current submain README.
04
ROADMAP
- Cranelift JIT parity coverage
- Type inference beyond local bindings
- strref and string boundary layout
- C interop after 0.1
- Minimal standard library
GITHUB
Repo is source of truth: commits, issues, implementation status.
https://github.com/COMMENTERTHE9/Cx_lang