package lua_parser

  1. Overview
  2. Docs
A Lua 5.2 Parser

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=040b79da95d5dbe7d5d2ecc03320b72e
sha512=537e2b38bf8590e9fc4592f4e39a6a8ad3029693e6b052376d342c13be9349fa4db3d3a2557e7ffaeb6580ad929d681271d951d0b619d3c6ca448042412e4a74

doc/lua_parser.lib/Lua_parser/Tokens/index.html

Module Lua_parser.TokensSource

Sourcetype token =
  1. | PLUS
  2. | MINUS
  3. | MULT
  4. | DIV
  5. | MOD
  6. | CARAT
  7. | GT
  8. | LT
  9. | GE
  10. | LE
  11. | EQ
  12. | NE
  13. | ASSIGN
  14. | DOT
  15. | CAT
  16. | ELLIPSIS
  17. | COLON
  18. | DCOLON
  19. | SEMI
  20. | COMMA
  21. | HASH
  22. | LB
  23. | RB
  24. | LCB
  25. | RCB
  26. | LPAR
  27. | RPAR
  28. | AND
  29. | BREAK
  30. | DO
  31. | ELSE
  32. | ELSEIF
  33. | END
  34. | FOR
  35. | FUNCTION
  36. | GOTO
  37. | IF
  38. | IN
  39. | LOCAL
  40. | NOT
  41. | OR
  42. | REPEAT
  43. | RETURN
  44. | THEN
  45. | UNTIL
  46. | WHILE
  47. | NUM_CONST of string
  48. | IDENT of string
  49. | BOOL of string
  50. | STR_CONST of string
  51. | EOF
Sourceval token_of_sexp : Sexplib0.Sexp.t -> token
Sourceval sexp_of_token : token -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.