No description
  • Rust 99.6%
  • JavaScript 0.4%
Find a file
2026-04-30 02:06:28 -04:00
.zed Use clippy for checks and simplify async marker 2026-04-15 02:18:28 -04:00
benches Use drop() for ignored Results 2026-04-15 02:01:20 -04:00
docs Add repository guidelines and perf blockout docs 2026-04-07 21:14:29 -04:00
examples Update hello.ts 2026-04-30 02:06:28 -04:00
src Polish test262 runner for Clippy and style 2026-04-15 12:22:14 -04:00
test262@2b2ecead6e Update test262 2026-04-07 21:13:16 -04:00
tools style: normalize Rc::clone(&x) to x.clone() across repo 2026-04-12 15:17:58 -04:00
.codex Add TypeofGlobal opcode; handle CompareJump patch 2026-04-14 20:31:39 -04:00
.gitignore Add lint/format configs, pnpm lock and fixtures 2026-04-07 20:37:18 -04:00
.gitmodules Add test262 as git submodule 2026-03-25 17:02:34 -04:00
.oxfmtrc.json Add lint/format configs, pnpm lock and fixtures 2026-04-07 20:37:18 -04:00
.oxlintrc.json Add lint/format configs, pnpm lock and fixtures 2026-04-07 20:37:18 -04:00
AGENTS.md Add repository guidelines and perf blockout docs 2026-04-07 21:14:29 -04:00
Cargo.lock Bump deps; add slot_to_u8 and typecheck helpers 2026-04-14 22:23:16 -04:00
Cargo.toml Return CompilerError for unexpected variants 2026-04-15 11:04:42 -04:00
clippy.toml Use checked u8 conversions for compiler indices 2026-04-14 23:47:02 -04:00
package.json Add lint/format configs, pnpm lock and fixtures 2026-04-07 20:37:18 -04:00
pnpm-lock.yaml Add lint/format configs, pnpm lock and fixtures 2026-04-07 20:37:18 -04:00
README.md Add bytecode opcodes, inline caches, and for-of 2026-04-06 13:00:43 -04:00
rustfmt.toml Create rustfmt.toml 2026-04-15 01:39:22 -04:00
tombi.toml fix tombi type issue 2026-04-15 00:42:18 -04:00

Blitz

Blitz is a compact ECMAScript engine/runtime centered on a minimal Rust kernel that exposes strictly documented native primitives and drives an increasingly capable runtime surface. The Rust base handles JavaScript parsing, bytecode compilation, the VM/GC, and defensive kernels so behavior stays auditable and easy to iterate.

Key layers

  • src/ — the Rust kernel that ships the lexer, parser, compiler, VM, GC, and the native hooks that expose every capability to the runtime. src/main.rs boots the globals, exposes natives, and can run a REPL or execute scripts.
  • examples/ — sample JavaScript entry points and probes that exercise how Blitz should be embedded or orchestrated.
  • tests/, benches/, and test262/ — Rust integration tests, Criterion benchmarks for the VM pipeline, plus the upstream ECMAScript Test262 harness for the conformance material we exercise manually or with auxiliary runners.

License

  • The test262/ tree is governed by the Test262 license embedded inside that directory.