kztk-m / flippre

Imported from Bitbucket for its sunsetting support of Mercurial.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flippre: FliPpr, embedded

This is an embedded implementation of FliPpr, an invertible pretty-printing system. The library provides functions and the datatypes so that one can write their pretty-printers that are akin to the usual functional programming style as possible, and invertible to produce CFG parsers. The current implementation uses Earley for parsing.

Build Instruction

This haskell package is managed via stack. So just type

stack build

to build the library. Some, examples are given under bench directory. For example, to access arithmetic expressions, type:

stack repl flippre:bench:arith

About

Imported from Bitbucket for its sunsetting support of Mercurial.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%