← Package directory
Available on winget

Install Grain

A new language that puts academic language features to work.

Install with winget
winget install --id Grain.Grain
Upgrade
winget upgrade --id Grain.Grain
Uninstall
winget uninstall --id Grain.Grain

About Grain

A new language that puts academic language features to work.

What's new in 0.7.2

Features - compiler: Provide a user friendly error on _start override (#2351) (37a64f9) - compiler: Support raising multiple well formedness errors. (#2348) (14db204) - compiler: Test typemetadata size (#2352) (5314e33) - compiler: Upgrade to Binaryen v124 (#2333) (fafad72) - compiler: Use Binaryen's bulk memory polyfill (#2334) (1c5478e) - lsp: Add submodule information to module hover (#2309) (227b3e3) - lsp: Support displaying multiple errors in the lsp (#2354) (4850458) - stdlib: Standardize path module examples (#2325) (c6e3cb0) Bug Fixes - compiler: Correct impossible bug on nested char pattern (#2310) (cd3267c) - compiler: Correct parsetree caching behaviour (#2280) (5f3f54d) - grainfmt: Correct formatting of record assignments (#2344) (7786d60) - grainfmt: Correct formatting of single arc function callback (#2340) (3ea198c)

Read release notes

Version history

Version Updated Notes
0.7.2 Unknown Features - compiler: Provide a user friendly error on _start override (#2351) (37a64f9) - compiler: Support raising multiple well formedness errors. (#2348) (14db204) - compiler: Test typemetadata size (#2352) (5314e33)...
0.7.1 Unknown Features - graindoc: Add locations to Graindoc errors (#2291) (da6090a) - graindoc: Pretty markdown tables (#2292) (1992734) - grainlsp: Add inlay types (#2005) (f8a8f7f) - lsp: Implement document symbol outline (#2298)...
0.7.0 Unknown ⚠ BREAKING CHANGES - cli: Require node >=22.13 (#2256) - compiler: Disallow whitespace for negative literals + allow infix operators on new line (#2136) - compiler: Custom Grain object files (#2104) - Remove -> token in...
0.6.6 Unknown Bug Fixes - lsp: Prevent crash on types not included from other modules (#2137) (865da8a)