grain icon indicating copy to clipboard operation
grain copied to clipboard

The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾

Results 236 grain issues
Sort by recently updated
recently updated
newest added

This PR adds a tool that is intended to help solve issues in code with manual memory management. I've added a new module called `runtimeDebug`, but I'm open to suggestions...

blocked

Grain currently allocates a closure for every function. However, many functions don't close over anything and are called by name, so the closure isn't necessary. We can save a lot...

The workflows should be refactored so each "step" is essentially its own workflow and then our primary workflows use https://github.com/grain-lang/workflow-dispatch-action to provide the necessary details to each workflow. This would...

I need to create a contributor document that outlines the release process and cadence.

admin

There are problems/bugs with this, so marking as a draft. I think we want to support `->` and `=>` for 0.5.x releases, and then the formatter will turn them into...

WIP Trying to implement [Lemire](https://arxiv.org/pdf/2101.11408.pdf) with a slow path fallback. Using these as a reference primarily: - Rust - https://github.com/rust-lang/rust/blob/master/library/core/src/num/dec2flt/mod.rs - Golang - https://github.com/golang/go/blob/52f68efa45a34e60e8fc5a2ad5fc124a865ac2a4/src/strconv/atof.go

We decided to remove this from the rewrite of the LSP server in #1131, so I wanted to extract the current implementation details into a draft. This is also an...

This is a draft because we would need to build the entire compiler just to regenerate the docs. I'm going to do this by hand right before we release (for...

This pr adds `Number.tan`, `Number.factorial`, `Number.clamp`, `Number.lerp` to the Number libary for #1017