Masala Parser

Masala Parser

Open source javascript library to create your own parsers

6 followers

Masala Parser is an Open source javascript library to create your own parsers. You won't need theoretical bases on languages for many usages. Masala Parser shines for simplicity, variations and maintainability of your parsers.
Masala Parser gallery image
Masala Parser gallery image
Masala Parser gallery image
Free
Launch tags:Open SourceGitHubComputers
Launch Team / Built With
Anima Playground
AI with an Eye for Design
Promoted

What do you think? …

Nicolas Zozol
Maker
📌
There are two kind of people on Earth. Those who have made a compiler, and the others. Masala Parser is a killer to be part of that first category.
Nicolas Zozol

I’m launching Masala Parser v2, a modern refresh of a 10-year-old open source parser combinator library for JavaScript and TypeScript.

Masala Parser is inspired by Haskell’s Parsec and lets you describe parsers in plain JS/TS code instead of wrestling with huge regexes or a separate grammar file.

With Masala you can:

  • Build type-safe custom parsers

  • Design small DSLs and config languages

  • Replace brittle regexp chains with readable, tested code

It’s plain JavaScript with strong TypeScript support, works in Node and the browser, and has been battle-tested over the years.

🔗 GitHub: https://github.com/masala/masala-parser
🎥 7-minute intro video: https://youtu.be/VNUrvWdtM2g

Happy to answer any questions and get feedback from fellow devtool nerds 👇