Ohm Editor(ohmjs.org)
ohmjs.org
Ohm Editor
https://ohmjs.org/editor/
8 comments
I think in 2025 we can be more declarative than "AddExp = MulExp", but it's been years since i tried to build my own "language languages", first with libmarpa, then even more expressive with prolog..
Could you provide a bit more context here? I’m looking at the math example (https://github.com/ohmjs/ohm/blob/main/examples/math/index.h...) and would like to learn a bit more.
maybe have a look at "PEG: Ambiguity, precision and confusion": https://jeffreykegler.github.io/Ocean-of-Awareness-blog/indi...
Bad landing page.
That's because it's not a landing page.
This is the homepage https://ohmjs.org/
This is the homepage https://ohmjs.org/
Ohm is a user-friendly parsing toolkit for JavaScript/TypeScript. You can find out more at https://ohmjs.org.
Anyone interested in the editor might like to check out a blog post I wrote about it a few years ago called "Visualizing Packrat Parsing" (https://dubroy.com/blog/visualizing-packrat-parsing/)
Some people also might be interested our book WebAssembly from the Ground Up (https://wasmgroundup.com): you can learn Wasm by building a simple compiler in JavaScript, using Ohm.