The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
3,466
stars
1,990
commits
Reason
primary language
Sep 4, 2026
updated
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.
There are tons of ways to contribute to Grain. Check out our contributing guide for more info and come chat with us on Discord! All contributors are held to our contributor code of conduct.
For instructions on how to build Grain from source, please consult the official documentation.
To link the CLI:
npm run cli link
To reset your compiler build:
npm run compiler clean
Copyright ©️ 2017-2025 Philip Blair, Oscar Spencer, & contributors.
(top 30 of 58)
Reason
98.0%
OCaml
1.3%
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
3,466
stars
1,990
commits
Reason
primary language
Sep 4, 2026
updated
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.
There are tons of ways to contribute to Grain. Check out our contributing guide for more info and come chat with us on Discord! All contributors are held to our contributor code of conduct.
For instructions on how to build Grain from source, please consult the official documentation.
To link the CLI:
npm run cli link
To reset your compiler build:
npm run compiler clean
Copyright ©️ 2017-2025 Philip Blair, Oscar Spencer, & contributors.
(top 30 of 58)
Reason
98.0%
OCaml
1.3%