chore(release): prepare public source release

This commit is contained in:
MercuryToolbox Release
2026-07-18 15:33:01 +08:00
commit 34d6a57f38
510 changed files with 163501 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# TONL v1 fixture assumptions
These fixtures define Mercury Toolbox's Rust-native TONL v1 surface for tests
and examples.
The representation is JSON-backed and line-oriented:
- A document object is written as `key = <JSON value>` per non-empty line.
- Record streams are separated by `---`.
- Lines beginning with `#` are comments.
- Values after `=` must be valid JSON literals, arrays, or objects.
- Non-object root values are represented by the reserved `$ = <JSON value>` key.
This keeps TONL deterministic, streamable, and easy to convert to and from JSON
or JSONL without a Node/TypeScript runtime.
+3
View File
@@ -0,0 +1,3 @@
# Invalid because TONL values must be JSON values.
name = "Ada"
score = not-json
+2
View File
@@ -0,0 +1,2 @@
{"id":"user-1","name":"Ada","active":true,"score":42}
{"id":"user-2","name":"Bob","active":false,"score":7}
+11
View File
@@ -0,0 +1,11 @@
# TONL v1 stream fixture: records separated by ---.
---
id = "user-1"
name = "Ada"
active = true
score = 42
---
id = "user-2"
name = "Bob"
active = false
score = 7
+1
View File
@@ -0,0 +1 @@
{"id":"user-1","name":"Ada","active":true,"score":42,"tags":["math","logic"],"meta":{"city":"London"}}
+7
View File
@@ -0,0 +1,7 @@
# TONL v1 fixture: JSON-backed key/value lines.
id = "user-1"
name = "Ada"
active = true
score = 42
tags = ["math","logic"]
meta = {"city":"London"}