chore(release): prepare public source release
This commit is contained in:
@@ -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.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Invalid because TONL values must be JSON values.
|
||||
name = "Ada"
|
||||
score = not-json
|
||||
@@ -0,0 +1,2 @@
|
||||
{"id":"user-1","name":"Ada","active":true,"score":42}
|
||||
{"id":"user-2","name":"Bob","active":false,"score":7}
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
{"id":"user-1","name":"Ada","active":true,"score":42,"tags":["math","logic"],"meta":{"city":"London"}}
|
||||
@@ -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"}
|
||||
Reference in New Issue
Block a user