package lua_parser
A Lua 5.2 Parser
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.0.tar.gz
md5=040b79da95d5dbe7d5d2ecc03320b72e
sha512=537e2b38bf8590e9fc4592f4e39a6a8ad3029693e6b052376d342c13be9349fa4db3d3a2557e7ffaeb6580ad929d681271d951d0b619d3c6ca448042412e4a74
Description
This is a parser and pretty-printer for lua 5.2
Published: 17 Sep 2020
README
Luajit/Lua 5.2 Parser and Pretty Printer
This repository contains a luajit/lua 5.2 parser and pretty printer implemented in OCaml. It has been reasonably well tested and any code parsed and pretty printed should execute correctly. If not please submit an issue.
Installation
As long as you have a current version of opam, installation is as simple as:
$ opam install lua_parser
You can then use it to parse and print lua code:
$ l2l -lua file1.lua
License
Dependencies (6)
-
ppx_deriving
>= "4.5"
-
ppx_sexp_conv
>= "v0.14.1"
-
sexplib
>= "v0.14.0"
-
sexp_pretty
>= "v0.14.0"
-
menhir
>= "20200624" & < "20211215"
-
dune
>= "2.5"
Dev Dependencies
None
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page