JavaScript Peg

Open-source JavaScript projects categorized as Peg

Top 4 JavaScript Peg Projects

  • ohm

    A library and language for building parsers, interpreters, compilers, etc.

  • Project mention: Ohm: A library and language for building parsers, interpreters, compilers, etc. | news.ycombinator.com | 2023-10-31

    Building an interpreter or a compiler from a grammar is an interesting idea. I can't immediately see how to go about it - the grammar would need to match on SSA or similar.

    The examples have a lisp-like interpreter at https://github.com/ohmjs/ohm/blob/main/examples/simple-lisp/... which definitely uses a grammar for parsing and might use a generic AST representation.

    Will have to think more - a grammar might be a worthwhile way to specify a nanopass style compiler pipeline.

  • PEG.js

    PEG.js: Parser generator for JavaScript

  • Project mention: Peg.js: Parser Generator for JavaScript | news.ycombinator.com | 2023-11-24
  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • peggy

    Peggy: Parser generator for JavaScript

  • Project mention: Peggy: Parser Generator for JavaScript | news.ycombinator.com | 2023-11-24
  • myna-parser

    Myna Parsing Library

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Peg related posts

Index

What are some of the best open-source Peg projects in JavaScript? This list will help you:

Project Stars
1 ohm 4,877
2 PEG.js 4,726
3 peggy 806
4 myna-parser 77

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com