NATIVE
No LLVM. No libc. Proprietary self-hosting native backend.
No LLVM. No libc. Proprietary self-hosting native backend.
ADTs, row polymorphism, first-class continuations.
Answer Type tracks continuation boundaries.
def choose(): i64 =
reset {
let x = shift k {
k(20) + k(22)
}
x + 1
} Control is a value, not a hidden runtime bargain.
def store64(ptr: i64, idx: i64, val: i64): *u8 =
unsafe {
asm (ptr: rdi, idx: rsi, val: rdx) : (rax) => {
"mov [rdi + rsi*8], rdx"
"xor eax, eax"
}
} Registers and return paths stay visible at the source level.
type Slice = { ptr: *u8, len: usize }
def Slice.at(self: Slice, index: usize): u8 =
unsafe { self.ptr[index] }
def main(): u8 = {
let s = Slice { ptr: 0x1000, len: 10 }
s.at(3)
} Methods are resolved statically, without object tax.
def x_of(point: {r | x: i64}): i64 =
point.x
def move_right(point: {r | x: i64}, dx: i64): {r | x: i64} =
{point | x: point.x + dx} Functions can ask for a shape without naming the whole record.
data Option[T] { Some(T), None }
def unwrap_or(value: Option[T], fallback: T): T =
match value {
Some(x) => x
None => fallback
} Data constructors destructure directly inside expression arms.
def normalize(name: String): String =
name |>
trim() |>
lowercase() |>
replace("_", "-") |>
intern() Dataflow reads forward while calls stay ordinary.
ATP proves stack depth bounds at compile-time.
Tracks resources through function boundaries.
Built for deterministic cycle-by-cycle control.
Parser resumes from valid sync points locally.
Compiler notes, proof sketches, backend experiments, and deterministic systems logs.
View All Posts
A Chiba note about a strange two-agent experiment: the self-bootstrap path becam…
Chiba Level-1 did not appear out of nowhere. It was assembled through specs, har…
Zig once promised directness and control, but recent governance and ecosystem sh…
After two weeks of hard work, Chiba-level0 has gone from an initial Rust demo to…
新的 docs 区已经接入站内,面向 CHIBA level-1 的核心语言、控制流、内存模型、包系统与 lowering 规则。
A site-native entry into the CHIBA level-1 spec, so readers can browse implementation-facing language rules without leaving the main site.
> ChibaLex 是 Chiba 生态自带的词法工具。
Follow the current CHIBA language rule and jump into the full section from the landing page.
> ChibaCC 是 Chiba 生态自带的语法分析工具。
Follow the current CHIBA language rule and jump into the full section from the landing page.
本文描述 Chiba level-1 的内存模型、隐式 `reset`、值与引用区分、以及 escape legality。
Follow the current CHIBA language rule and jump into the full section from the landing page.
The CHIBASF(prepare to register) is a non-profit founded (not yet) to support development of the language. It offers paid work at competitive rates to a small number of core contributors.
Chiba Labs(not yet) provides commercial support and proprietary extensions to fund the core protocol's longevity. We specialize in industry-grade optimization and neural computation.
Advanced profile-guided optimizations for enterprise-scale deployments.
Deterministic AI libraries with formal tensor verification for safety-critical inference.
The following companies provide direct financial support to the CHIBA Software Foundation, enabling us to pay core contributors and maintain a neutral toolchain.
Sponsorship ensures CHIBA remains a permanent fixture of the systems programming landscape.
The CHIBA community is decentralized. Anyone is free to start and maintain their own space. There is no concept of "official" or "unofficial"; each gathering place has its own moderators and rules.
See all CommunitiesThe CHIBA repository is at https://github.com/chiba-lang — issue tracker and proposals hosted there.
Browse Source Code & ProposalsThink FP Run in ASM