OhmJS (@_ohmjs) 's Twitter Profile
OhmJS

@_ohmjs

A library and language for building parsers, interpreters, compilers, and more.

🗣 discord.gg/KwxY5gegRQ
🦋 bsky.app/profile/ohmjs.…

ID: 1411328152580861955

linkhttps://ohmjs.org calendar_today03-07-2021 14:17:19

65 Tweet

294 Followers

14 Following

OhmJS (@_ohmjs) 's Twitter Profile Photo

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/rele…

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/rele…
OhmJS (@_ohmjs) 's Twitter Profile Photo

Thanks to some hard work from @andrewelgert, we now have Ohm grammars for modern versions of JavaScript (ES2015+). Give 'em a spin and let us know how they work for you! npmjs.com/package/@ohm-j…

OhmJS (@_ohmjs) 's Twitter Profile Photo

Another fun use case for Ohm 😁 Rail ID is a general-purpose parser for European rolling stock identification codes. wsiegenthaler.github.io/rail-id-web/

Another fun use case for Ohm 😁

Rail ID is a general-purpose parser for European rolling stock identification codes.

wsiegenthaler.github.io/rail-id-web/
OhmJS (@_ohmjs) 's Twitter Profile Photo

In WebAssembly from the Ground Up, 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".

In <a href="/WasmGroundUp/">WebAssembly from the Ground Up</a>, 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".
OhmJS (@_ohmjs) 's Twitter Profile Photo

I really want this poster and am really tempted to make a version of the Ohm grammar (ohm-grammar.ohm) Hmmm and I have a long flight coming up soon 🤔

Alex Warth (@alexwarth) 's Twitter Profile Photo

If you're a fan of Bret Victor's Inventing on Principle, check out Seymour, a live programming environment I made with Saketh Kasibatla. harc.github.io/seymour-live20…

If you're a fan of <a href="/worrydream/">Bret Victor</a>'s Inventing on Principle, check out Seymour, a live programming environment I made with <a href="/sakekasi/">Saketh Kasibatla</a>.
 
harc.github.io/seymour-live20…
OhmJS (@_ohmjs) 's Twitter Profile Photo

If you dig Ohm and are interested in WebAssembly, check out this book by Patrick Dubroy DONE HERE (co-creator of Ohm). You'll learn Wasm (the instruction set and module format) by building a compiler for a small programming language. It's also a great way to learn Ohm!

OhmJS (@_ohmjs) 's Twitter Profile Photo

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/programmi…

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/programmi…