Datastruct is a simple markup language for representing data structures as text.
+-------------------------------------------------------------------------------------------+
| |
| |
| >>> REFERENCE <<< |
| |
| |
| <type> one item of <type> at this position |
| <type>s one or multiple items of <type> at this position |
| <type>? optional item/items of <type> at this position |
| *<type> reference to item of <type> |
| <type>|* direct or reference to item of type |
| <type1> / <type2> / ... type alternatives (only one of the types allowed) |
| <type1> + <type2> + ... type alternatives (both types in the same place allowed) |
| > <type>: element types can have functions that generate related elements |
| |
| |
| type (comment) types can be commented |
| |
| # multiline comment |
| type multiline comments should be placed above types |
| |
+-------------------------------------------------------------------------------------------+