OhmJS (@_ohmjs) header
OhmJS (@_ohmjs) profile picture

A library and language for building parsers, interpreters, compilers, and more. 🗣 https://teapaw.org/t.co/sdnZLYWSgp 🦋 https://teapaw.org/t.co/qYpz8Ol01g

Everywhere
Joined July 2021
Very cool to learn that Ohm was used to create Gambu-Script, which is used to teach programming to over 90k students in Austria! It's part of SchuBu, a free-to-use digital schoolbook: schubu.org/p768/programmiere…
3
182
Anyone catch Ohm in the current edition of JavaScript Weekly? javascriptweekly.com/issues/…
4
149
You can read the online essay from LIVE 2017 here: tinlizzie.org/~ohshima/shada… and try it out here: tinlizzie.org/~ohshima/shada…
1
3
289
Still one of my favourite things built with Ohm — Shadama by @yoshikiohshima et al is a live programming environment for particle simulation. It compiles to GLSL shaders and runs in the browser via WebGL.
1
2
18
1,615
In @WasmGroundUp, we teach you how to compile a simple programming language down to WebAssembly. (using Ohm, of course) Here's a section on inline rule declarations, part of a new draft of Chapter 3, "A Calculator Language".
1
3
1
7
504
Another fun use case for Ohm 😁 Rail ID is a general-purpose parser for European rolling stock identification codes. wsiegenthaler.github.io/rail…
1
123
ICYMI, the last Ohm release came with a sweet new feature: examples embedded in comments. → Positive examples begin with //+ → Negative examples begin with //- …and an `extractExamples` helper to easily add them to your tests. github.com/ohmjs/ohm/release…
4
1,181
Nice shoutout from O'Reilly Radar. oreilly.com/radar/radar-tren… Spotted by @warianoguerra
4
220
PyPI Assistant is a VS Code extension by @MatlokaM for working with pip requirements files (requirements.txt): marketplace.visualstudio.com… It's now powered by Ohm via the pip-requirements-js package: github.com/Twixes/pip-requir…
259
New in the Ohm Editor — syntax highlighting in the grammar editor. (Finally!)
1
22
1,335
Experimenting with a new layout for the Ohm Editor. WDYT?
3
3
1
18
1,724
Thinking about a format for inline grammar examples, like doctests in Python, Rust, etc. Ohm Editor would parse/serialize & keep the example list in sync. And we'd add CLI command to extract the tests or run them in a test suite. WDYT? Any other languages we should look at?
1
1,754
Coming soon to Ohm — indentation-sensitive grammars! Basic support for indentation-sensitive languages (like in Python, YAML, etc.) should hopefully be ready for v17 by the end of the year. Let me know if you'd like to try a prerelease.
6
It's a bit late, but we passed a nice milestone a few weeks back…over 1 million downloads of ohm-js on NPM! 🥳🎉 The year-over-year trend looks good too…📈 (via npm-stat.com)
4