grain
grain copied to clipboard
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
Depending on the order the test suites are run, calling `Ident.create` in the tests will change what stamps idents in further tests get, which can cause snapshot tests to fail....
### Overview This PR replaces Grain's intermediate `.gr.wasm` files with Grain object files. This is for a variety of reasons, including: - Debuggability. Our wasm-based linker is unable to reconstruct...
:robot: I have created a release *beep* *boop* --- grain: 0.6.4 ## [0.6.4](https://github.com/grain-lang/grain/compare/grain-v0.6.3...grain-v0.6.4) (2024-04-27) ### Features * **graindoc:** Cache module comments ([#2102](https://github.com/grain-lang/grain/issues/2102)) ([d45ddfa](https://github.com/grain-lang/grain/commit/d45ddfaac5067d7d6c08703653a31187d35914a5)) ### Bug Fixes * **compiler:** Stabilize CRC...
Changed initial memory pages value to 1
I arbitrarily chose the number 64 way back when. I don't know why. The Grain runtime reserves 2k of space for itself (and only uses about 1k). A hello world...
This PR does some initial project scaffolding for Silo, Grain's new project manager and build system. This isn't quite an initial version, but rather some project setup to provide a...
As mentioned in #2099, in the stdlib there are multiple cases where we have needed to and will need to implement parsers such as currently for `url decoding`, `filepaths` and...
In grain `v0.6.0` we added support for parsing, `Json` I think we should also support `TOML` in the stdlib. I implemented a mostly complete parser here: https://github.com/spotandjake/Grain-Toml which is a...
Add Buffer.addNumber(Number) that appends the bytes of the number based on the varint algorithm. Some file formats or protocols rely on that feature so it could be helpful to have...