name: luthor version: 0.0.2 stability: experimental synopsis: Tools for lexing and utilizing lexemes that integrate with Parsec. description: Like parser combinators? Building a big parser? Save hundreds of sloc, hours of debuging and several headaches by using Luthor on top of the familiar Parsec library. . Parsec works great for small parsers, but as the size of the parser grows, complexity can grow exponentially without taking serious and tricky precautions. Luthor provides reusable utilities to isolate the complex parts of parsing. Amonst its weaponry are 1) more composable combinators, 2) pre-built token parsers, 3) tools to build a scannerful parser, and 4) tools to work with indentation. Luthor reduces overall complexity, generally increases performance and error reporting, and cuts down on wheel re-invention. . BIG CAVEAT: It is difficult to understand all the ways in which Parsec fails to be composable, so there may be some combinators in Luthor which fail to be composable. If you're getting weird (i.e. Parsec-like) results, add a @try@ and please report. homepage: https://github.com/Zankoku-Okuno/luthor license: BSD3 license-file: LICENSE author: Zankoku Okuno maintainer: zankoku.okuno@gmail.com bug-reports: https://github.com/Zankoku-Okuno/luthor/issues -- copyright: category: Text, Language build-type: Simple cabal-version: >=1.8 extra-source-files: changes.md, docs/*.md, docs/*.hs, docs/*.l library exposed-modules: Text.Luthor Text.Luthor.Lex Text.Luthor.Combinator Text.Luthor.Syntax Text.Luthor.Indent other-modules: build-depends: base ==4.*, mtl ==2.*, parsec ==3.*, transformers >= 0.3 test-suite test-combinator type: exitcode-stdio-1.0 main-is: test/combinator.hs build-depends: base ==4.*, mtl ==2.*, parsec ==3.* test-suite test-syntax type: exitcode-stdio-1.0 main-is: test/syntax.hs build-depends: base ==4.*, mtl ==2.*, parsec ==3.* test-suite test-indent type: exitcode-stdio-1.0 main-is: test/indent.hs build-depends: base ==4.*, mtl ==2.*, parsec ==3.* source-repository head type: git location: https://github.com/Zankoku-Okuno/luthor.git