spec/index.md

30 lines
535 B
Markdown
Raw Permalink Normal View History

2019-06-10 03:46:27 +00:00
# Simple Extensible Notation (SEN)
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
## Primitive Types
2018-12-18 11:37:31 +00:00
| name | description |
| ------ | -------------------------- |
2019-06-10 03:46:27 +00:00
| `atom` | Represents a literal thing |
2018-12-18 11:37:31 +00:00
| `real` | Represents a real number |
| `text` | Represents text |
2019-06-10 03:46:27 +00:00
### Atom Type
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
### Real Type
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
### Text Type
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
## Structured Types
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
| name | description |
| ----- | --------------------- |
| `tag` | A tagged structure |
| `seq` | A sequence structure |
| `map` | A key-value structure |
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
### Tag Type
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
### Seq Type
2018-12-18 11:37:31 +00:00
2019-06-10 03:46:27 +00:00
### Map Type