Skip to content
Proyectos

Acerca de

A reactive dataflow programming language for the AI era, with automatic parallelization and very high standards of static verification

Lenguajes y entornos de ejecución

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
+1
in 7 days
Recopilando historial
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Zed programming language

Zed Compiler & Runtime

Zed is a dataflow programming language built from a single core premise: removing the ability to read the "current" value of a mutable place turns every program's source text into an explicit, acyclic value-dependency DAG. From that single premise follow automatic multicore/GPU parallelization, zero data races, exact pause-free reference counting with in-place reuse, bit-identical deterministic parallel reductions, set-theoretic failure-as-data typing, partial-evaluation staging, and reactive incrementality over a 7-generator core (fam, reindex, discard, fold, fix, gen, port).

Current Implementation Status (R0–R4 Complete, R5 Active): Organized across 22 focused crates in a strictly acyclic 5-layer DAG (zedc check, run, build, test, fmt, replay, pin, info), backed by a 4-way differential oracle (zed-kernel == pre-PE JIT == post-PE JIT == standalone stripped AOT ELF) and O(n log n) scaling verification. Live milestone progress is tracked in docs/plan_dag.md (viewable interactively via make-no-mistakes). The complete, self-contained language specification lives in design/README.md, and the workspace architecture, build order (R0–R9), verification discipline, and engineering standards are documented in the Engineering Zed wiki page (with full coding rules in RUST_STANDARDS.md).


Repository Layout

  • crates/ — 22 modular Rust crates in a strictly acyclic 5-layer DAG (see Engineering Zed for the full layer map)
  • design/ — complete 7-part language specification and compiler architecture
  • docs/ — live milestone DAG (docs/plan_dag.md) and project artwork
  • verify/lean/ — machine-checked Lean 4 (--trust=0) soundness proofs for certificate verification
  • zed/grammar/ — PEG lexical, surface syntax, and notation grammars
  • zed/prelude/ — standard Zed prelude library (core.zed, math.zed), embedded at compile time
  • zed/corpus/ — 31 end-to-end reference Zed programs, input/output fixtures, and standalone Rust reference oracle (zed/corpus/ref/)

Quick Start

# Run full verification checks (DAG check, fmt, clippy -D warnings, tests, rustdoc)
cargo run -p xtask -- check

# Verify crate DAG layers and docs/plan_dag.md integrity alone
cargo run -p xtask -- check-dag

# Run scaling benchmarks under optimized bench-test profile
cargo test --workspace --profile bench-test -- --test-threads=1

# Run the zedc CLI
cargo run -p zedc -- info

# Launch the live plan DAG viewer on http://127.0.0.1:4317 (from a make-no-mistakes checkout)
node ../make-no-mistakes/src/server.ts --repo . --plan docs/plan_dag.md --port 4317

License

Licensed under the MIT License.

Explorar proyectos relacionados

Cargando…