peggy | json5 | |
---|---|---|
8 | 95 | |
823 | 6,308 | |
5.6% | 1.0% | |
9.0 | 0.0 | |
about 1 month ago | 5 months ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
peggy
- Peggy: Parser Generator for JavaScript
- GitHub - peggyjs/peggy: Peggy: Parser generator for JavaScript
- Peggy: Maintained fork of PEG.js parser generator
-
Creating a custom parser with PEGJS
The PEG.js project got taken over by a new maintainer who locked everyone else out, never shipped a release, and then ignored repeated requests to transfer the project back to the community. So the community forked it to a new project - Peggy, which is where ongoing development happens: https://github.com/peggyjs/peggy
-
How to make your own programming language in JavaScript
NOTE: The original PEG.js project is not maintained anymore, but there is a new fork, Peggy that is maintained and it's backward compatible with PEG.js so it will be easy to switch.
-
Show HN: DTL: a language and JavaScript lib to transform and manipulate data
Thanks. Yes, DTL's core textual syntax is described with PEG. I make use of the Peggy (https://peggyjs.org/) PEG processor to build up the AST that is used to actually process DTL.
There are C based PEG processors, which I've looked at once or twice also, but I haven't sat down to try to convert it. Mostly out of a desire to get the existing module to work well. A working module for one language is better than a partially working module for multiple. :P
-
Parsing in JavaScript: all the tools and libraries you can use
hmm this article is a bit outdated; peg.js (mentioned in the article) has been discountined for a few years now; recently the project was picked up by another team under the name peggy.js https://github.com/peggyjs/peggy
json5
- JSON5 – JSON for Humans
- Why the fuck are we templating YAML? (2019)
-
I pre-released my project "json-responder" written in Rust
JSON5 support
-
topoconfig: enhancing config declarations with graphs
Meanwhile, formats have been evolving (JSON5, YAML), config entry points are constantly changing. These fluctuations, fortunately, were covered by tools like the cosmiconfig.
-
That's a Lot of YAML
I think JSON5 is fairly close to this: https://json5.org
I reckon the only thing it's missing to be truly accessible to non-techies is that string values still need to be quoted, i.e. you can't have:
key: this is my value
(I'm definitely not saying it would be a good idea to allow quotes to be dropped, just that that's the only potential stumbling block I see for non-techies.)
-
XML is better than YAML
I believe that's JSON5.
https://github.com/json5/json5
It's my preferred configuration file format, it fixes all the problems I have with JSON (trailing commas, comments) without turning it into a mess full of gotchas like YAML.
- Fx – Terminal JSON Viewer
- What Is Wrong with TOML?
-
🚀 'GET' API in API Maker
JSON 5 support
-
TySON: a native go library that lets you use TypeScript as an embedded configuration language without depending on Node or V8
I would like to see mention of JSON5 which is 11 years its elder. For comments in JSON, JSON5 is a good starting point.
What are some alternatives?
PEG.js - PEG.js: Parser generator for JavaScript
Json.NET - Json.NET is a popular high-performance JSON framework for .NET
lezer - Dev utils and issues for the Lezer core packages
hjson-js - Hjson for JavaScript
ohm - A library and language for building parsers, interpreters, compilers, etc.
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
esprima - ECMAScript parsing infrastructure for multipurpose analysis
toml - Tom's Obvious, Minimal Language
purescript - A strongly-typed language that compiles to JavaScript
jsonnet - Jsonnet - The data templating language
lens-toml-parser - Lenses for toml-parser
sublime-hjson - Hjson support for Sublime Text