Expand description
The clojurust runtime: environment, builtins, tree walker, and tiered evaluation.
This package is the merge of four formerly separate packages. Each is now a module:
| Module | Former package | Responsibility |
|---|---|---|
[env] | cljrs-env | Namespaces, vars, dynamic bindings, GC roots, loader |
builtins | cljrs-builtins | Native clojure.core functions and bootstrap source |
interp | cljrs-interp | Tree-walking interpreter, special forms, macros |
tiered | cljrs-eval | IR lowering, tier-1 IR interpreter, JIT dispatch state |
The four former packages no longer exist — Stage 6 of the crate consolidation deleted their re-export shims. These module paths are the only paths.
Construction goes through one path — Runtime::builder — and the
execution mode it selects (ExecutionMode) is what decides whether a
call tree-walks, runs lowered IR, or jumps to JIT-compiled native code.
Re-exports§
pub use mode::ExecutionMode;pub use mode::TierState;pub use runtime::BuildError;pub use runtime::Runtime;pub use runtime::RuntimeBuilder;
Modules§
- builtins
- env
- interp
- Tree-walking interpreter: special forms, macro expansion, destructuring, and function application.
- logging
- Diagnostic logging configuration (native only; see the module docs).
Diagnostic logging configuration:
tracingtargets and filters. - mode
- Execution mode and tier state.
- runtime
- The one construction path for a clojurust runtime.
- tiered
- IR-accelerated evaluation for clojurust.