gll: GLL parser with simple combinator interface
The package gll provides generalised top-down parsing according to the (R)GLL parsing algorithm [Scott and Johnstone 2016].
The user can either invoke the GLL parser directly by importing GLL.Parser and providing a value of the Grammar datatype in (exported by GLL.Parser). Alternatively, the user can import GLL.Combinators to write combinator expressions from which a grammar of the required form is extracted. The combinators enable applying arbitrary semantic actions to parse results. The documentation of the respective packages provides more information.
The main motivation for this package is the development of Domain Specific Languages (DSLs). More specifically: designing DSLs with minimal differences between between abstract and concrete syntax (abstract syntax is often ambiguous).
Please email any questions, comments and suggestions to the maintainer.
Modules
[Index] [Quick Jump]
- GLL
- GLL.Combinators
- GLL.Flags
- GLL.GrammarCombinators
- Parseable
- GLL.Parser
- Types
Downloads
- gll-0.4.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.3.0.0, 0.3.0.1, 0.3.0.6, 0.3.0.7, 0.3.0.9, 0.3.0.10, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.0.5, 0.4.0.11, 0.4.0.12, 0.4.0.13, 0.4.1.0, 0.4.1.1 (info) |
---|---|
Change log | changelog.txt |
Dependencies | array, base (>=4.3.1.0 && <=5), containers (>=0.4), pretty, regex-applicative (>=0.3), text, time (>=1.8) [details] |
Tested with | ghc >=8.2.1 && <=8.6, ghc ==8.8.3, ghc >=9.2.5, ghc ==9.4.3 |
License | BSD-3-Clause |
Copyright | Copyright (C) 2015-2023 L. Thomas van Binsbergen |
Author | L. Thomas van Binsbergen |
Maintainer | L. Thomas van Binsbergen <ltvanbinsbergen@acm.org> |
Category | Compilers |
Home page | https://github.com/ltbinsbe/gll-combinators |
Bug tracker | https://github.com/ltbinsbe/gll-combinators/issues |
Uploaded | by ltvanbinsbergen at 2023-05-26T19:56:14Z |
Distributions | NixOS:0.4.1.1 |
Reverse Dependencies | 4 direct, 0 indirect [details] |
Downloads | 11308 total (9 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-05-26 [all 1 reports] |