inchworm: Simple parser combinators for lexical analysis.
Parser combinator framework specialized to lexical analysis.
Tokens are specified via simple fold functions, and we include
baked in source location handling.
Comes with matchers for standard lexemes like integers,
comments, and Haskell style strings with escape handling.
No dependencies other than the Haskell base
library.
If you want to parse expressions instead of tokens then try
try the parsec
or attoparsec
packages, which have more
general purpose combinators.
[Skip to Readme]
Modules
- Text
- Lexer
- Text.Lexer.Inchworm
- Text.Lexer.Inchworm.Char
- Text.Lexer.Inchworm.Scanner
- Text.Lexer.Inchworm.Source
- Text.Lexer.Inchworm
- Lexer
Downloads
- inchworm-1.1.1.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 1.0.0.1, 1.0.1.1, 1.0.2.1, 1.0.2.2, 1.0.2.3, 1.0.2.4, 1.1.1.1, 1.1.1.2 |
---|---|
Change log | Changelog.md |
Dependencies | base (>=4.8 && <4.18) [details] |
License | MIT |
Author | The Inchworm Development Team |
Maintainer | Ben Lippmeier <benl@ouroborus.net> |
Revised | Revision 2 made by BenLippmeier at 2024-05-02T10:34:03Z |
Category | Parsing |
Home page | https://github.com/discus-lang/inchworm |
Source repo | head: git clone https://github.com/discus-lang/inchworm.git |
Uploaded | by BenLippmeier at 2019-01-02T03:42:31Z |
Distributions | |
Reverse Dependencies | 1 direct, 12 indirect [details] |
Downloads | 4630 total (4 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2019-01-02 [all 2 reports] |