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

Change the code to use print_ prefix as an indicator for functions that produce Docs, and get_ prefix for things that don't for better comprehension

// formatter-ignore let single_ast_line = "x" Tricky to fix as we don't know the padding state.

See title. Open questions: - What syntax should we use? - Should they be F32 or F64? We should probably have both, since F32/F64 NaN comparisons may not work correctly...

compiler
syntax

Throughout the entire standard library we have some possibly problematic usage of simple number tagging and untagging. 1. In some if not most cases where a `WasmI32` value is "tagged"...

It's not currently possible to re-export an exception in Grain as there is no syntax to do so. One might try this: test.gr ``` export exception Foo ``` test2.gr ```...

bug

I've been suffering through using the VScode one with Emacs bindings, but it is very slow going for me. Please make an Emacs mode.

Right now the errors are just plain strings. It'd be more useful if they were exceptions we could pattern match on. Blocked on #1053

blocked

This work likely won't be done until our module system rewrite. This is what declaring foreign values would look like: ``` @externalName("wasi_unstable") foreign module WasiUnstable { @externalName("fd_write") let fdWrite: annotation...

syntax