Draft specification, RFCs, reference registries and examples, plus the reference-implementation skeleton: build.zig, diagnostic envelope with error-code registry synced to docs, aji CLI, conformance runner with seed tests, CI and contributor docs.
1.0 KiB
1.0 KiB
Intrinsic Registry (Draft)
Intrinsics are verifier-known platform/runtime operations. Each intrinsic requires a formal signature, effects, capabilities, ownership behavior and failure model.
Filesystem
fs.open_read
fs.open_write
fs.read
fs.write
fs.write_all
fs.sync
fs.close
Console / generic I/O
io.stdout_write
io.stderr_write
Network
net.socket
net.bind
net.listen
net.accept
net.connect
net.recv
net.send
net.close
Time/random
clock.monotonic
clock.wall
random.fill
Task/thread
task.spawn
task.join
task.cancel
thread.spawn
thread.join
Synchronization
mutex.create
mutex.lock
mutex.unlock
rwlock.create
rwlock.read
rwlock.write
channel.create
channel.send
channel.recv
Atomics
atomic.load
atomic.store
atomic.exchange
atomic.fetch_add
atomic.fetch_sub
atomic.compare_exchange
atomic.fence
Memory
heap.alloc
heap.free
region.create
region.alloc
region.reset
region.destroy
island.create
island.alloc
island.freeze