Compiler.Tokenstype token = | PlusThe '+' operator
*)| HyphenThe '-' operator
*)| AsteriskThe '*' operator
*)| SlashThe '/' operator
*)| EqualThe '=' operator
*)| LessThe '<' operator
*)| GreaterThe '>' operator
*)| NotEqualThe '<>' operator
*)| SemiColonThe ';' operator
*)| AtSignThe '@' operator
*)| ColonThe ':' operator
*)| DoubleColonThe '::' operator
*)| LeftParenThe '(' operator
*)| RightParenThe ')' operator
*)| LeftBracketThe '' operator
| RightBracketThe ']' operator
*)| ArrowThe '->' operator
*)| VerticalBarThe '|' operator
*)| DotThe '.' operator
*)| CommaThe ',' operator
*)| FunctionThe `fun` keyword
*)| RecursiveThe `rec` keyword
*)| LetThe `let` keyword
*)| InThe `in` keyword
*)| IfThe `if` keyword
*)| ThenThe `then` keyword
*)| ElseThe `else` keyword
*)| MatchThe `match` keyword
*)| WithThe `with` keyword
*)| Int of int| Float of float| String of string| Bool of bool| Identifier of string| EOF| Invalidval string_of_token : token -> stringval string_of_tokens : token list -> string