Compiler.Tokens
type token =
| Plus
The '+' operator
*)| Hyphen
The '-' operator
*)| Asterisk
The '*' operator
*)| Slash
The '/' operator
*)| Equal
The '=' operator
*)| Less
The '<' operator
*)| Greater
The '>' operator
*)| NotEqual
The '<>' operator
*)| SemiColon
The ';' operator
*)| AtSign
The '@' operator
*)| Colon
The ':' operator
*)| DoubleColon
The '::' operator
*)| LeftParen
The '(' operator
*)| RightParen
The ')' operator
*)| LeftBracket
The '' operator
| RightBracket
The ']' operator
*)| Arrow
The '->' operator
*)| VerticalBar
The '|' operator
*)| Dot
The '.' operator
*)| Comma
The ',' operator
*)| Function
The `fun` keyword
*)| Recursive
The `rec` keyword
*)| Let
The `let` keyword
*)| In
The `in` keyword
*)| If
The `if` keyword
*)| Then
The `then` keyword
*)| Else
The `else` keyword
*)| Match
The `match` keyword
*)| With
The `with` keyword
*)| Int of int
| Float of float
| String of string
| Bool of bool
| Identifier of string
| EOF
| Invalid
val string_of_token : token -> string
val string_of_tokens : token list -> string