@hackage language-lua0.5.0
Lua parser and pretty-printer
Installation
Dependencies (5)
Dependents (4)
@hackage/caffegraph, @hackage/hdiff, @hackage/language-lua-qq, @hackage/acme-everything
Lua 5.2 lexer, parser and pretty-printer.
Changelog:
0.5.0:
2-years-old operator parsing bug fixed. Chained/nested operator expressions are now properly parsed.
0.4.6:
Language.Lua.Annotated.Lexer module exposed.
0.4.5:
Fixed a bug that made lexer accept invalid escape sequences in strings.
Strings are now interpreted -- string "\n" is now parsed to Haskell string "\n", instead of "\\n".
Fixed character code parsing.
0.4.4:
Printer now takes operator precedences into account while printing
BinopandUnopexpressions and prints parenthesis as necessary.Printer now does not put line break in
Binopexpressions.
0.4.3:
DataandTypeableinstances are implemented for syntax tree.
0.4.2:
More tweaks in pretty printer.
Started using 2 spaces for indentation(instead of 4 as before).
0.4.1:
Some tweaks in pretty-printer.
0.4.0:
TableandFunDefnodes are removed from simplified syntax.
0.3.1:
Fixed incorrectly exported name
expinLanguage.Lua.Parsermodule.
0.3.0:
Added non-annotated syntax to make code-generation easier.
0.2.3:
Minor internal changes.
0.2.2:
Some tweaks in pretty-printer.
0.2.0:
Syntax tree is annotated. All parsers(
parseText,parseFile) annotate resulting tree with source positions.