-
Notifications
You must be signed in to change notification settings - Fork 1
The lowo format
Eutro edited this page Dec 22, 2020
·
1 revision
On Fabric, the configuration format is a custom format.
| Character(s) | Effect |
|---|---|
//, #, ;
|
Starts a line comment. The rest of the line is ignored. |
/* |
Starts a block comment. Any characters until */ are ignored. |
whitespace, ,
|
Ignored. |
", """
|
Non-literal string. Supports escape sequences (see below). The triple-quoted variant can be multiline. |
', '''
|
Literal string, does not support escape sequences. The triple-quoted variant can be multiline. |
When a \ character is read from a non-literal string, the sequence that follows may have special meaning.
These are the supported escape sequences:
| Sequence | Meaning |
|---|---|
\t |
Tab |
\b |
Backspace |
\n |
Newline |
\r |
Carriage return |
\f |
Form feed |
\u0000 - \uFFFF
|
The unicode value of the four digit hex number |
\0 - \777
|
The unicode value of the 1-3 digit octal number |
\ + line break |
Skip until the next non-whitespace character |