lezer VS generator

Compare lezer vs generator and see what are their differences.

lezer

Dev utils and issues for the Lezer core packages (by lezer-parser)

generator

Parser generator for the lezer incremental parser (by lezer-parser)
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.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
lezer generator
2 1
29 140
- 6.4%
4.6 7.0
4 months ago 6 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

lezer

Posts with mentions or reviews of lezer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-24.
  • Lezer: A Parsing System for CodeMirror, Inspired by Tree-Sitter
    9 projects | news.ycombinator.com | 24 Mar 2024
    I attempted to use this but was disheartened but the fact that it doesn't statically type node names. Tree Sitter doesn't either but it has much more of an excuse given that it targets C.

    https://github.com/lezer-parser/lezer/issues/8

    The dev seems mildly hostile to outside involvement too, so I moved on. These days I use Chumsky which is Rust rather than Typescript, but also way more awesome, if you can deal with the often incomprehensible compilation errors at least!

    https://github.com/zesterer/chumsky

  • Parsing in JavaScript: all the tools and libraries you can use
    3 projects | news.ycombinator.com | 24 May 2021
    Treesitter is not JS (although the Wasm version can be used from JS). Lezer (https://github.com/lezer-parser/lezer) is similar (it was inspired by Treesitter) and is written in TS.

generator

Posts with mentions or reviews of generator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-24.
  • Lezer: A Parsing System for CodeMirror, Inspired by Tree-Sitter
    9 projects | news.ycombinator.com | 24 Mar 2024
    Yes it's unsolicited "advice" that shows an uncooperative attitude IMO. You can say "I don't want to do that" in a nice way without being patronising. If you look at the other closed MRs you'll see a similar attitude.

    E.g. here (I'd forgotten about this actually): https://github.com/lezer-parser/generator/pull/6#issuecommen...

    Here https://github.com/lezer-parser/lr/pull/64#issuecomment-1802...

    It's nothing major but just emanates "difficult to work with" vibes so I didn't want to spend my time working with a project like that (looks like not many other people do either).

What are some alternatives?

When comparing lezer and generator you can also consider the following projects:

peggy - Peggy: Parser generator for JavaScript

tamcher

code-mirror-custom-element - CodeMirror 6 as a custom element (web component)

codemirror-elements - A set of CodeMirror custom HTML elements