mirror of
https://github.com/TxtDot/dalet.git
synced 2024-11-21 20:36:23 +03:00
doc: fix table spec
This commit is contained in:
parent
ba4dcf7649
commit
d03f921538
4 changed files with 44 additions and 10 deletions
|
@ -101,8 +101,8 @@ row: {
|
|||
}
|
||||
}
|
||||
|
||||
# | is delimeter for elements.
|
||||
# Element | Description == {
|
||||
# "|" is delimeter for text without tags.
|
||||
# Element | Description == tcol: {
|
||||
# Element
|
||||
# Description
|
||||
# }
|
||||
|
|
1
specification/daleth.md
Normal file
1
specification/daleth.md
Normal file
|
@ -0,0 +1 @@
|
|||
# Daleth specification for Dalet v1.0-preview
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
**Dalet** is a system through which it is possible to combine human readable markup language and small size of transmitted data. The system is divided into two stages and two languages.
|
||||
|
||||
## Specification
|
||||
|
||||
- [Tags](./tags.md)
|
||||
- [Daletl](./daletl.md)
|
||||
- [Daleth](./daleth.md)
|
||||
|
||||
## Languages
|
||||
|
||||
### Daleth
|
||||
|
@ -22,11 +28,6 @@ In the first stage, the daleth language is parsed and converted to daletl. All t
|
|||
|
||||
At this stage, only daletl is used. This stage is used by programs for generation, modification and rendering. The data is transferred between the server and the client only in this stage.
|
||||
|
||||
## Specification
|
||||
|
||||
[Tags](./tags.md)
|
||||
[Daletl](./daletl.md)
|
||||
|
||||
## References
|
||||
|
||||
[^1]: In the first versions only. Detranslation is planned for the future for the sake of devtools.
|
||||
|
|
|
@ -322,7 +322,7 @@ img[/dalet.png]
|
|||
| -------- | ----------- |
|
||||
| name | table |
|
||||
| id | 12 |
|
||||
| body | tags |
|
||||
| body | tcol[] |
|
||||
| argument | no |
|
||||
|
||||
Creates a table.
|
||||
|
@ -343,14 +343,14 @@ table: {
|
|||
12,
|
||||
[
|
||||
[
|
||||
0,
|
||||
13,
|
||||
[
|
||||
[0, "Name"],
|
||||
[0, "Age"],
|
||||
],
|
||||
],
|
||||
[
|
||||
0,
|
||||
13,
|
||||
[
|
||||
[0, "Elon"],
|
||||
[0, "53"],
|
||||
|
@ -359,3 +359,35 @@ table: {
|
|||
],
|
||||
]
|
||||
```
|
||||
|
||||
## 13. Table Column
|
||||
|
||||
| Property | Description |
|
||||
| -------- | ----------- |
|
||||
| name | tcol |
|
||||
| id | 13 |
|
||||
| body | tags |
|
||||
| argument | no |
|
||||
|
||||
Creates a table column.
|
||||
|
||||
**Daleth example**:
|
||||
|
||||
```txt
|
||||
tcol: {
|
||||
Name
|
||||
Age
|
||||
}
|
||||
```
|
||||
|
||||
**Daletl example (json5 representation)**:
|
||||
|
||||
```json5
|
||||
[
|
||||
13,
|
||||
[
|
||||
[0, "Name"],
|
||||
[0, "Age"],
|
||||
],
|
||||
]
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue