Saturday, March 21, 2026

Grain Language => WebAssembly (WASM)

 Meet Grain: The High-Level Language Optimized for WebAssembly - The New Stack

The goal was to create a modern-day OCaml, he said.

“OCaml [was] this fantastic language from the ’90s, with all these amazing different language features … one of the huge features was pattern matching,”


Grain: A strongly-typed functional programming language for the modern web.


grain-lang/grain: The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾@GitHub

in "Reason" language, LGPL3

Grain is a new programming language that compiles to WebAssembly via Binaryen. For more information about the language, check out grain-lang.org.

If it's your first time here, we recommend that you follow the Grain guide to get up and running.


Grain, a WebAssembly functional language - Interview with co-author Oscar Spencer - YouTube


Library Preview: Regex - Grain Blog

No comments: