Documentation ¶
Index ¶
Constants ¶
View Source
const ( ILLEGAL = "ILLEGAL" EOF = "EOF" // Identifiers + literals IDENT = "IDENT" // add, foobar, x, y, ... INT = "INT" // 1343456 STRING = "STRING" // Operators ASSIGN = "ASSIGN" PLUS = "+" MINUS = "-" SLASH = "/" BANG = "!" GT = ">" LT = "<" ASTERISK = "*" EQ = "==" NOT_EQ = "!=" // Delimiters COMMA = "," SEMICOLON = ";" LPAREN = "(" RPAREN = ")" LBRACE = "{" RBRACE = "}" LBRACKET = "[" RBRACKET = "]" COLON = ":" // Keywords FUNCTION = "FUNCTION" LET = "LET" IF = "IF" ELSE = "ELSE" RETURN = "RETURN" TRUE = "TRUE" FALSE = "FALSE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.