@hackage / indentation

Indentation sensitive parsing combinators for Parsec and Trifecta

Latest0.3.3

About

Metadata

  • Last updated , by AlekseyKliger
  • License BSD-3-Clause
  • Categories Parsers
  • Maintained by: Ömer Sinan Ağacan <omeragacan@gmail.com> Aleksey Kliger <aleksey@lambdageek.org>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.6.1
  2. 8.4.3
  3. 7.10.3

Package Flags

Use the -f option with cabal commands to enable flags

    parsec (on by default)

    Include indentation operators for Parsec

    trifecta (on by default)

    Include indentation operators for Trifecta

Readme

Indentation sensitive parsing combinators for Parsec and Trifecta.

This package provides both the Parsec and Trifecta combinators. It is mainly useful for backward compatability with older versions of indentation. Individual backends are available in the indentation-parsec and indentation-trifecta packages.

See

Michael D. Adams and Ömer S. Ağacan. Indentation-sensitive parsing for Parsec. In Proceedings of the 2014 ACM SIGPLAN Symposium on Haskell, Haskell ’14, pages 121–132. ACM, New York, NY, USA, September 2014. ISBN 978-1-4503-3041-1. doi:10.1145/2633357.2633369.