A self-contained JavaScript runtime: units, types and routines are live values that the core compiles and reproduces into descendant artifacts. Generated artifacts embed their language, cryptography and compression code; they do not require runtime packages, node_modules or a network service.
Security contract
The host and authorized units are trusted. The evaluator intentionally executes the DSL and its JavaScript routines; it is not a sandbox for hostile JavaScript.
- Boot verifies compressed language and library checksums before evaluating language code, validates identity and lineage, and fails without delivering a gate on error.
- Checksums detect inconsistency. Before loading a received artifact, a trusted instance must approve its source and certified lineage with
identity.verify_artifact(source, lineage, trusted_anchor). - Authentication depends on the API key. Invalid access raises
FORBIDDEN; automatic banishment and destructive storage operations are commented out and inactive. - Unicode names and their auxiliary watermark are obfuscation, not an authorization boundary. The pool and urn are private to each instance.
- Storage uses
iandara.storage.v2: secret-derived keys, identity namespaces, AEAD binding, an authenticated manifest and a commit pointer written last. Old storage is refused without conversion or deletion. - Cryptography uses the existing Noble implementations. No predictable randomness fallback is available; the host must supply a compatible CSPRNG.
See SECURITY.md for the threat model, format/API changes, acceptance matrix and limitations.
A first unit
Replace <api_key> below with the actual expected key before loading the unit. Names such as LANG or MY_API_KEY are refused; the language itself goes through the same gate.
iandara`<api_key>`.
mod`hello`.
type`greeting`.
has`who:text*`.
can`say[text]`[o=>'hello, ' + who.get].
bean`greeter::main`.
scope`system`.
override`begin`[x=>logger.info(greeting.up('world').say)]();
Read next
task homoiconic:bench.profile -- --rounds 3 locates boot costs without dumping code or secrets. To compare revisions in alternating fresh processes without sampling, use task homoiconic:bench.profile -- --rounds 5 --compare <40-character-commit> --no-profile. Profiling is diagnostic; the complete parent/child/grandchild benchmark remains task homoiconic:bench -- --rounds 5 --no-view.
Open the live stage with task homoiconic:bench.live. The page starts fresh runs, chooses rounds, time per measure and reproductions, and shows the active scene, elapsed time, latest measures, lineage and result charts as events arrive. Only one benchmark or test run is active at a time. Reconnecting replays the current run; another run releases the previous history. The last complete report remains available in benchmark/.generated/report.yaml.
The full benchmark accepts integer --rounds and --reproductions from 1 to 20, and --budget from 50 to 5,000 milliseconds. Each round runs in a fresh process with a parent-enforced deadline scaled to those settings. Invalid options, process errors, termination by signal and timeouts fail the run.
For a runnable browser example, open demo/index.html directly. It embeds the exact
generated demo/iandara.js, its test credentials and demo/unit.js, which computes a greeting and
a sum through the DSL and opens the refactored Belchior home scene. No server or network is needed. task homoiconic:demo rebuilds the HTML from the local
DPAPI receipt and tests it in Chromium offline, including repeated inputs and the mobile layout.
- docs/DSL.md: writing units, every word and everything a labor can reach, with examples.
- docs/UNITS.md: migration status, loading order and browser tests for the new units.
- docs/HTTP.md: the Node HTTP adapter, REST routing, static mounts and authorization still being migrated.
- docs/CORE.md: the layers, the boot, the gate, the compiler, the scheduler, storage and crypto.
- docs/REPRODUCTION.md: custody of the keys, the API-KEY, the lineage, a birth and the wu-ji.
- docs/DICTIONARY.md: every word, with one meaning each.
- docs/PLAN.md: the journal, the corechain and the cloud.
- docs/CORECHAIN.md: embedded synchronization, signed receipts, forks and the Firestore host adapter.
- docs/DECENTRALIZED-DATABASE.md: ionized database snapshots, custody among active users and parallel restoration.
- docs/TODO.md: what is still open, and why.
Layout
The chain is genesis → compilation → level 1 → lang → units → reproduction.
core.js: the primary core. The built crypto lives inside it, and only there.units/: pure.iaDSL grouped inlanguage/,examples/,dom/,layout/,web/,home/,svg/,orbit/,security/andprotocol/.catalog.mjsowns their logical names, paths and dependency order. Trusted hosts supply wrappers and bind literal keys; the authoral files have the local demo's actual key.host/: what raises and uses a core from outside.compile.mjs(a level 1 lineage: the root's card, the level 1 core and its receipt),reproduce.mjs(a node bears the next level and seals its receipt),lineage-fixture.mjs(an ephemeral level 1 for tests) andtest.js(an in-memory genesis; level 1, child and grandchild; every rule of the DSL and of the gate).util/:crypto.mjs(the crypto source),card.mjs(the card: a seed in 32 pairs of homoglyphs, drawn in SVG),build.mjs(writes the crypto and the lang into the core) andvault.mjs(the system vault).benchmark/: rounds in fresh processes, with a live view and a report inbenchmark/.generated/report.yaml. The view's second tab runshost/test.jsand shows each check as it passes or fails.
The tasks are under homoiconic: (task ? -- homoiconic:test).