chore(release): prepare public source release

This commit is contained in:
MercuryToolbox Release
2026-07-18 15:41:59 +08:00
commit e365e5df4d
508 changed files with 163373 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# ISON Fixtures
These fixtures track the public examples on https://ison.dev/: `table.<name>`
block syntax for ISON and `object.<name>|fields|values` line records for ISONL.
The local v1 implementation covers deterministic JSON object and JSONL record
roundtrips without adding a Node, TypeScript, or external runtime dependency.
+4
View File
@@ -0,0 +1,4 @@
table.users
id:int name:str active:bool
1 Ada true
2 Bob false
+2
View File
@@ -0,0 +1,2 @@
object.record|id:int name:str active:bool|1 Ada true
object.record|id:int name:str active:bool|2 Bob false
+1
View File
@@ -0,0 +1 @@
{"users":[{"id":1,"name":"Ada","active":true},{"id":2,"name":"Bob","active":false}]}
+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"}
@@ -0,0 +1,3 @@
name:"Ada"
profile:
city:"London"
+10
View File
@@ -0,0 +1,10 @@
{
"name": "Ada",
"active": true,
"score": 42,
"tags": ["math", "logic"],
"profile": {
"city": "London",
"year": 1843
}
}
+5
View File
@@ -0,0 +1,5 @@
name:"Ada"
active:true
score:42
tags:["math","logic"]
profile:{"city":"London","year":1843}
+2
View File
@@ -0,0 +1,2 @@
{"name":"Ada","score":10,"active":true}
{"name":"Bob","score":11,"active":false}
+3
View File
@@ -0,0 +1,3 @@
@(2):name,score,active
Ada,10,true
Bob,11,false