language-lua: Lua parser and pretty-printer
Lua 5.2 lexer, parser and pretty-printer.
Changelog:
0.6.2.1:
Missing test files are added to Cabal package.
0.6.2:
base
dependency is relaxed for GHC 7.10. Note that alex version >3.1.4 is required to compile with GHC 7.10.
0.6.1:
Generic
andNFData
instances are implemented for syntax trees.
0.6.0:
Fixed a long string literal parsing bug which was causing long strings to terminate at wrong points.
\z escape characters in strings are now scanned and interpreted correctly.
This is first version that parses all of Lua 5.2.2 test suite.
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
Binop
andUnop
expressions and prints parenthesis as necessary.Printer now does not put line break in
Binop
expressions.
0.4.3:
Data
andTypeable
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
andFunDef
nodes are removed from simplified syntax.
0.3.1:
Fixed incorrectly exported name
exp
inLanguage.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.
Modules
[Index]
Downloads
- language-lua-0.6.2.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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, 0.11.0.2 (info) |
---|---|
Dependencies | array (>=0.4 && <0.6), base (>=4.5 && <4.9), deepseq, mtl (>=2.0 && <2.3), parsec (>=3.1.3 && <3.2), safe (>=0.3 && <0.4) [details] |
License | BSD-3-Clause |
Author | Ömer Sinan Ağacan |
Maintainer | omeragacan@gmail.com |
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 2015-02-17T14:20:31Z |
Distributions | LTSHaskell:0.11.0.2, NixOS:0.11.0.2, Stackage:0.11.0.2 |
Reverse Dependencies | 3 direct, 0 indirect [details] |
Downloads | 26787 total (3 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-02-17 [all 1 reports] |