package minicaml

  1. Overview
  2. Docs
type token =
  1. | UNIT
  2. | TRUE
  3. | TIMES
  4. | THEN
  5. | SYMBOL of string
  6. | STRING of string
  7. | SEMISEMI
  8. | SEMI
  9. | RSQUARE
  10. | RPAREN
  11. | REC
  12. | RBRACKET
  13. | PLUS
  14. | PIPE
  15. | OR
  16. | NOT
  17. | MINUS
  18. | LSQUARE
  19. | LPAREN
  20. | LET
  21. | LESSEQUAL
  22. | LESS
  23. | LBRACKET
  24. | LAZY
  25. | LARROW
  26. | LAND
  27. | LAMBDA
  28. | INTEGER of int
  29. | IN
  30. | IF
  31. | GREATEREQUAL
  32. | GREATER
  33. | FALSE
  34. | EQUAL
  35. | EOF
  36. | ELSE
  37. | CONS
  38. | COMMA
  39. | COLON
  40. | AND
exception Error
val toplevel : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Types.expr
val file : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Types.command list
OCaml

Innovation. Community. Security.