-
Notifications
You must be signed in to change notification settings - Fork 10
Syntax
E-Hern Lee edited this page Mar 16, 2017
·
10 revisions
There are six types of tokens in Charcoal - numbers, strings, variables, arrows, commands, and operators. Two or more strings or numbers can be separated by a ¦
.
These are just normal integers, but using ⁰¹²³⁴⁵⁶⁷⁸⁹
instead of 0123456789
.
These are any run of printable ASCII characters and ¶
. Command characters can be included by escaping them with ´
.
These are any Greek lowercase letter: αβγδεζηθικλμνξπρσςτυφχψω
. Note that omicron ο
has been left out because it looks too similar to an o
. Some variables have preset values.
These are any Unicode arrow: ←↑→↓↖↗↘↙
.
These are prefix. More information can be found here (for commands) and here (for operators).