Patrick Dubroy's newsletter

Subscribe
Archives
April 2, 2024

Two little interpreters

New blog post

I'm a bit late in announcing this, but last week I published a new blog post: Two little interpreters. It's about a side project I've been tinkering on for a while: two tiny interpreters (less than 600 LoC in total) for parsing expression grammars.

WebAssembly from the Ground Up

I haven't mentioned it here before, but some of you may know that — together with Mariano Guerra — I'm working on a book called WebAssembly from the Ground Up.

The idea behind the book is to learn WebAssembly by building a compiler for a toy programming language. The language is built with Ohm, the parsing toolkit that co-created and maintain.

We just published a major update to the book: Chapter 5 ("Functions") is now complete, and we've refactored the code and prose in the previous chapters to make it simpler and more consistent.

image.png

If you're interested in WebAssembly, you should give it a look. For updates, you can also follow us on Twitter or Mastodon.

✌️,

Pat

Don't miss what's next. Subscribe to Patrick Dubroy's newsletter:
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.