https://github.com/grain-lang/grain
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
https://github.com/grain-lang/grain
compiler functional-programming grain language wasm webassembly
Last synced: 15 days ago
JSON representation
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
- Host: GitHub
- URL: https://github.com/grain-lang/grain
- Owner: grain-lang
- License: lgpl-3.0
- Created: 2017-04-11T19:49:19.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T01:24:31.000Z (about 1 month ago)
- Last Synced: 2025-04-19T10:24:26.654Z (about 1 month ago)
- Topics: compiler, functional-programming, grain, language, wasm, webassembly
- Language: Reason
- Homepage: https://grain-lang.org/
- Size: 17.2 MB
- Stars: 3,345
- Watchers: 47
- Forks: 117
- Open Issues: 258
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-list - grain - lang | 2010 | (Reason)
- awesome-repositories - grain-lang/grain - The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾 (Reason)
README
---
Grain is a new programming language that compiles to [WebAssembly](http://webassembly.org/) via [Binaryen](https://github.com/WebAssembly/binaryen). For more information about the language, check out [grain-lang.org](https://grain-lang.org/).
If it's your first time here, we recommend that you follow [the Grain guide](https://grain-lang.org/docs) to get up and running.
## Contributing
There are tons of ways to contribute to Grain. Check out our [contributing guide](https://github.com/grain-lang/grain/blob/main/CONTRIBUTING.md) for more info and come [chat with us on Discord](https://discord.gg/grain-lang)! All contributors are held to our [contributor code of conduct](https://github.com/grain-lang/grain/blob/main/CODE_OF_CONDUCT.md).
## Building
For instructions on how to build Grain from source, please consult the [official documentation](https://grain-lang.org/docs/getting_grain#Building-Grain-from-Source).
### Other Commands
To link the CLI:
```bash
npm run cli link
```To reset your compiler build:
```bash
npm run compiler clean
```Copyright ©️ 2017-2024 Philip Blair, Oscar Spencer, & contributors.