language-lua: Lua parser and pretty-printer

[ bsd3, language, library ] [ Propose Tags ]

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.

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.6.0, 0.6.2, 0.6.2.1, 0.6.3, 0.6.3.1, 0.6.3.2, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.9.0, 0.10.0, 0.11.0, 0.11.0.1 (info)
Dependencies array (>=0.4 && <0.6), base (>=4.5 && <4.8), mtl (>=2.0 && <2.3), parsec (>=3.1.3 && <3.2) [details]
License BSD-3-Clause
Author Omer Sinan Agacan
Maintainer omeragacan@gmail.com
Revised Revision 4 made by OmerAgacan at 2014-08-22T09:24:36Z
Category Language
Home page http://github.com/osa1/language-lua
Bug tracker http://github.com/osa1/language-lua/issues
Source repo head: git clone git://github.com/osa1/language-lua.git
Uploaded by OmerAgacan at 2014-05-10T09:19:40Z
Distributions LTSHaskell:0.11.0.1, NixOS:0.11.0.1
Reverse Dependencies 3 direct, 0 indirect [details]
Downloads 25981 total (85 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]