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. Learn more →
Top 4 JavaScript Peg Projects
-
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.
Project mention: Ohm: A library and language for building parsers, interpreters, compilers, etc. | news.ycombinator.com | 2023-10-31Building 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.
JavaScript Peg related posts
- Peggy: Parser Generator for JavaScript
- Peg.js: Parser Generator for JavaScript
- Ohm: A library and language for building parsers, interpreters, compilers, etc.
- Is there a generalised, abstract programming language, designed to be specialised to a specific domain?
- How do you start your own programming language?
- My first Vue app - Subtitle offset editor
- GitHub - peggyjs/peggy: Peggy: Parser generator for JavaScript
-
A note from our sponsor - SurveyJS
surveyjs.io | 26 Apr 2024
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