Skip to content
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 ¦.

Numbers

These are just normal integers, but using ⁰¹²³⁴⁵⁶⁷⁸⁹ instead of 0123456789.

Strings

These are any run of printable ASCII characters and . Command characters can be included by escaping them with ´.

Variables

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.

Arrows

These are any Unicode arrow: ←↑→↓↖↗↘↙.

Commands and Operators

These are prefix. More information can be found here (for commands) and here (for operators).

Clone this wiki locally