forked from AbleScript/ablescript
24 lines
777 B
Rust
24 lines
777 B
Rust
pub enum tokens {
|
|
LEFT_PARENTHESIS, // (
|
|
RIGHT_PARENTHESIS, // )
|
|
LEFT_BRACKET, // [
|
|
RIGHT_BRACKET, // ]
|
|
LEFT_BRACE, // {
|
|
RIGHT_BRACE, // }
|
|
COMMENT, // #
|
|
SUBTRACT, // -
|
|
ADDITION, // +
|
|
MULTIPLY, // *
|
|
DIVIDE, // /
|
|
CHAR, // Base52 based character
|
|
FUNCTION, // functio
|
|
CONSTANT, // constant.e
|
|
BF_FUNCTION, // Brain fuck FFI
|
|
VARIABLE, // Variable bro
|
|
BOOLEAN, // True, False
|
|
ABOOLEAN, // Always, Sometimes, Never
|
|
PRINT, // Prints the preceding things
|
|
MELO, // Ban the following variable from ever being used again
|
|
T_DARK, //
|
|
}
|