@hackage language-lua0.4.4

Lua parser and pretty-printer

Lua 5.2 lexer, parser and pretty-printer. Documentation: (https://osa1.github.com/language-lua)

Changelog:

0.4.4:

  • Printer now takes operator precedences into account while printing Binop and Unop expressions and prints parenthesis as necessary.

  • Printer now does not put line break in Binop expressions.

0.4.3:

  • Data and Typeable instances 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:

  • Table and FunDef nodes are removed from simplified syntax.

0.3.1:

  • Fixed incorrectly exported name exp in Language.Lua.Parser module.

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.