indents

indentation sensitive parser-combinators for parsec

http://github.com/jaspervdj/indents

Version on this page:0.4.0.0
LTS Haskell 22.13:0.5.0.1@rev:2
Stackage Nightly 2024-03-14:0.5.0.1@rev:2
Latest on Hackage:0.5.0.1@rev:2

See all snapshots indents appears in

BSD-3-Clause licensed by Sam Anklesaria, Jasper Van der Jeugt
Maintained by [email protected]
This version can be pinned in stack with:indents-0.4.0.0@sha256:2b12aa2d63133de709218bba0b5bf0a1b63d7bac96e64374ad60dade637f31e9,1456

Module documentation for 0.4.0.0

Depends on 3 packages(full list with versions):

This library provides functions for use in parsing indentation sensitive contexts. It parses blocks of lines all indented to the same level as well as lines continued at an indented level below.

Changes

Changelog

  • 0.4.0.0 (2016-12-22)
    • Improved error messages
    • Added a simple test suite
    • Use ReaderT stack instead of State
    • Add IndentParserT in addition to IndentParser
    • Remove dependency on concatenative
    • Add topLevel, notTopLevel functions
    • Add runIndentParserT, runIndentParser convenience functions