Repository navigation
Zymbol-Lang v0.0.9
A decision release. Rules that lived in the prose and in no engine, or in three engines three ways, were decided once and enforced in all three. Full detail in CHANGELOG.md; the collections are specified in COLLECTIONS.md.
✨ Added
std/time— the clock and the civil calendar. Below a day it is duration, from a day up it is calendar: a minute is always 60 000 ms, a day is not always 86 400 000.add(e, 1, "day", "local")across a daylight-saving change gives the same wall clock 23 hours later, which is what a person means by "tomorrow". Digits are always ASCII, because a date is the one piece of text written for a machine to read back and२०२६-०८-२३is not ISO 8601. The era algorithms live inzymbol-intrinsics, shared by both Rust engines; the browser engine ports them a third time rather than delegating to JavaScript'sDate, which rolls2026-13-01over into 2027 instead of refusing it.#(…)— the dictionary has a notation of its own. No new type: it is the named tuple, given a spelling that the empty case forced, since()cannot be both the empty tuple and the empty dictionary. The bare(a: 1)is refused.#[…]— an array whose mix of element types is declared, and##(/##[so that#?can tell the four collections apart.##_— the Unit literal, writable at last, and==no longer constrains a parameter's type.() -> body— a zero-parameter lambda.- A pattern where a name goes:
@ (k, v):pares { … }destructures each element in the loop header.
🛠 Changed — the collections
- The indexed assignment is withdrawn.
arr[i] = vandm[i][j] = vare refused by all three engines. The rule is about how an element is addressed, not about what is done with it. - The chained index is refused for reading too.
m[2][3]is not a form of Zymbol; the navigatorm[2>3]is. It never gave a wrong answer — the second spelling is withdrawn, not a bug fixed. - The rule of the result. A
$edit whose result is used builds and leaves the receiver alone; discarded, it modifies. Discarding a consulting$is now dead code and says so. - The dot writes what the dot reads, and a deep write has one form.
🐛 Fixed
zymbol fmtprinted a literal as its value renders, not as it was WRITTEN — eleven of sixteen literal forms did not survive a format. A program written in Devanagari stopped being one the moment it was formatted, and four properties plus a safety gate all missed it: the token gate comparesTokenKind, which carries the value and not the spelling, so४२and42are one token. Now guarded from outside the formatter, by ZyFmtCheck.- A silent data-destruction bug across the whole
$family, found while unifying the editing model: an edit now writes into the path of its receiver. - A named function captures the file's variables, like a lambda — and knowing what a body needs recovered 44% of
bench_recursionalong the way. - A module could not hold a collection, and a module function call copied the whole module's state.
#,and#^write their digits in the active numeral script, and the separators follow the script — while the pair itself never inverts:,groups and.divides, in every script.- Windows: eleven findings, verified on Windows 11, that began as
v0.0.8_HotFix01. Eleven is not a patch on top of a release, so there is no 0.0.8.1 — the branch became v0.0.9 and the corrections ship inside it. See WINDOWS_V009.md.
📦 Packaging and the gate
Linux packages still go build → verify → publish: nothing reaches this page until the .deb has been installed and exercised in a pristine debian:12 container. That gate had stopped being able to run the corpus when the corpus moved to ZyQuality — CI checks out one repository and the comparison lives in another — which would have published this release with no Linux package at all. It now builds ZyQuality on the runner and mounts it into the container.
This is also the first release graded somewhere other than the author's machine. .github/workflows/gate.yml assembles the twelve checkouts that ZyQuality, ZyDDT and ZyFmtCheck resolve against and runs them on every push.
Availability of std/db: Windows binaries and source builds only (default db cargo feature). The prebuilt Linux and macOS binaries exclude it — the ODBC driver manager needs dlopen, impossible in a fully static binary.
Windows: the .msi is signed by hand through the SignPath portal and is uploaded after the automated builds, so it may appear on this page a little later than the rest. macOS binaries are unsigned and un-notarized on purpose; Gatekeeper needs xattr -d com.apple.quarantine ./zymbol_lang_v0.0.9_<arch>_macos before the first run.
✅ Validation
- Three-engine consensus: 666 corpus files, 660 agreeing, 0 diverging — the remaining six excused per engine with a written reason
- Rejection corpus: 41 of 41 forms refused by all three engines
cargo test: 1026 passed, 0 failed, 4 ignored- Goldens: 635 of 639 via
run, 25 of 25 viacheck, 0 stale - ZyFmtCheck over 7 applications: the formatter moved things and changed nothing
- ZyDDT: green over 500 declared cells, 12 pins and the two lexer surfaces
- Debian package gate: 41 of 41 checks in a pristine
debian:12container, corpus included
Full Changelog: v0.0.8...v0.0.9