ohm VS Magnit.Tokenization

Compare ohm vs Magnit.Tokenization and see what are their differences.

ohm

A library and language for building parsers, interpreters, compilers, etc. (by ohmjs)

Magnit.Tokenization

Tokenize strings into custom tokens using ordered regex operations. (by catapart)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
ohm Magnit.Tokenization
10 1
4,877 1
1.0% -
6.8 10.0
30 days ago over 1 year ago
JavaScript C#
MIT License Creative Commons Zero v1.0 Universal
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.

ohm

Posts with mentions or reviews of ohm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-31.

Magnit.Tokenization

Posts with mentions or reviews of Magnit.Tokenization. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-31.
  • Ohm: A library and language for building parsers, interpreters, compilers, etc.
    6 projects | news.ycombinator.com | 31 Oct 2023
    Oh, this is awesome!

    Truth be told, I'm glad I didn't know about it when I wrote a much more simplified project (shameless plug: https://github.com/catapart/Magnit.Tokenization), because I DEFINITELY would have just used your solution, even though its a bit overkill for those needs.

    That said, after having finished what I needed, of course I started to wonder about what else I could add to it, with the main stopping force being the need to rewrite the parsing engine (regex ain't going to cut it for more complicated syntaxes). Which is one of those dev projects that linger in the back of your mind until you either see it through, or see that someone else has done it.

    And, on that record, I think you've done a better job than I could ever attempt, so I'm very glad to know about this library, now! I don't have anything specifically in mind for it, but having the doors it opens available is quite nice!

What are some alternatives?

When comparing ohm and Magnit.Tokenization you can also consider the following projects:

PEG.js - PEG.js: Parser generator for JavaScript

codemod - Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.

peggy - Peggy: Parser generator for JavaScript

Chevrotain - Parser Building Toolkit for JavaScript

Pegged - A Parsing Expression Grammar (PEG) module, using the D programming language.

mation-spec

usfm-grammar - An elegant USFM parser.

meowlang - Meow Programming Language

pymetaterp - A python parser that builds python ASTs in 502 lines of python without using modules

proposal-operator-overloading

match-iz - A tiny pattern-matching library in the style of the TC39 proposal.