This library implements a set of practical parser combinators inspired by libraries like parsec, megaparsec, and parsack. It can be used to build parsers for arbitrary input data, and it includes built-in facilities for parsing textual data and tokens produced by parser-tools/lex
.
To install it, simply install the megaparsack
package:
$ raco pkg install megaparsack