Unotal in 50 seconds
All Unotal units are sequences of characters from the Unicode character set and must be encoded using UTF-8.
A string can be written just as it is. It does not have to be written between quotation marks.
- A Unotal string
alpha
A Unotal room can be a sequence of strings and other Unotal rooms and is written in angle brackets. The entries of a room are separated by nothing or white space, not by commas or semicolons.
- A Unotal room with 3 entries, the last entry being a room itself
< alpha beta < one two >>
Unotal units might be formatted freely, i.e., newline characters and/or multiple spaces can be used instead of a space.
- A Unotal room equivalent to the previous room
< alpha beta
< one two >>
A room can have attributes, too.
- A Unotal attribute within a room (name is "color", value is "red")
< color=red
alpha beta >
An attribute value might be a room itself (i.e., structured).
- A structured Unotal attribute value with a Unotal room
< authors=< Mary Peter >
alpha beta >
If a string contains certain special characters, it needs to be written in square brackets. While spaces outside of such square brackets are just ignored as white space, spaces and line endings within square brackets are significant.
- Bracketed strings in Unotal
< authors=< [Mary Meyers] [Peter Miller] >
text=[This is a Unotal string.
It might contain newline characters
and might contain most characters without
"escapes" [even 'nested' pairs of brackets]]>
Multiple attributes of a room might have the same name.
- Multiattributes in Unotal
< author=[Mary Meyers] author=[Peter Miller] >
A Unotal room might have a room type. The name of such a type is preceded by an ampersand "&".
- A Unotal room with type "gamma"
< &gamma alpha beta >
A Unotal room might have multiple types.
- A Unotal room with multiple types
< &public &class >
Thank you for 50 seconds of your time! This small tutorial ends here.