doc: update daletl data spec

This commit is contained in:
Artemy Egorov 2024-07-23 12:57:23 +03:00
parent b26330f7f3
commit 66bfa69272
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
### Stage 1 (optional)
In the first stage, the daleth language is parsed and converted to daletl. All tag names are replaced by the smallest possible names, so that they take up less space in json or messagepack, for example. **This stage is not for data transmission**.
In the first stage, the daleth language is parsed and converted to daletl. All tags becomes an array of properties `[tag_id, body, argument]`, so that they take up less space in json or messagepack, for example. **This stage is not for data transmission**.
### Stage 2

View file

@ -22,7 +22,7 @@ Daletl
Daletl json5 data representation:
```json5
{ e: "Dalet" }
[0, "Dalet"]
```
## Heading
@ -49,5 +49,5 @@ h[1]: Dalet
Daletl json5 representation:
```json5
{ h: "Dalet", l: 1 }
[1, "Dalet", 1]
```