DSL Parser

A simple parser combinator library for expressions and domain specific languages, written in Typescript.

API Documentation

TSDoc API reference

Install dependencies

$ npm install

Build project

Before first build:

$ mkdir dist

(Re)build:

$ ./build.sh

References

This project was inspired by the paper "Monadic Parser Combinators" by Hutton and Meijer, the paper "Parsec: Direct Style Monadic Parser Combinators for the Real World" by Leijen and Meijer, and the chapter on parser combinators in the book "Programming in Scala" by Odersky et al.