Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

susisu/typed-loquat

Repository files navigation

typed-loquat

TypeScript interface of loquat, a monadic parser combinator library for JavaScript.

Installation

# npm
npm i https://github.com/susisu/typed-loquat
# yarn
yarn add https://github.com/susisu/typed-loquat

Examples

You can find some parser examples in examples directory:

  • json.ts: simple JSON parser
  • s_exp.ts: S-expression parser, using Haskell's do like notation with generators
  • calc.ts: calculator, using expression parser generator
  • lambda.ts: lambda-expression parser, using token parser generator

License

MIT License

Author

Susisu (GitHub, Twitter)

About

TypeScript interface of loquat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published