Skip to main content

Meetup 20: Parser Combinators in OCaml

· One min read
Manas Jayanth
Managing Partner at Dining Philosophers, LLP.

injuly live coded mini-angstrom drawing inspiration from both Angstrom and the Graham Hutton paper.

The agenda was

  1. Short intro to parser combinators and Monads.
  2. Re-implement angstrom from scratch – a popular parser combinator library.
  3. Go through angstrom's source, and compare differences from our implementation.
  4. Cover some popular Haskell parsing libraries (parsec, megaparsec, etc.)

After the meetup, @theteachr even raised a pull request to implement (WIP) a BenCode parser.

When is the next meetup?

Checkout Upcoming Meetups

Stay in touch with us


Twitter: https://x.com/ReasonBangalore

Discord: https://discord.com/invite/Ytr36fRC4C