grain
grain copied to clipboard
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
It would be really helpful when debugging if, fails and throws produced call stacks when not compiled in `release` mode, when you get an error such as `index out of...
Currently grain has a global `toString` function that works on all datatypes in pervasvies. We should also add `toString` functions to libraries that work on specific datatypes such as `Char.toString`...
opening this draft for windows CI testing purposes
This is my initial experimentation to figure out if we can use `MenhirSdk` and the `cmly` file it can generate to automatically output a tree-sitter grammar. It's a little annoying...
This issue excludes the `stdlib` suite, as it makes sense that would have to rely on the stdlib. Currently some of the test suites outside of the stdlib suite rely...
#1849 adds the ability to alias an exception with a `use` statement. Following this behavior, it would also make sense to allow exception aliasing within a file i.e. ``` exception...
Currently we do not test the lsp, we cant really test the features / visual output when interacting with an editor well, but what we can do is add some...
We currently do not highlight unused variables and modules and such, it would be benifical if we sent information about if things are used or not through the lsp so...
The current implementation of json makes use of grain's `parseFloat`, this has multiple disadvantages namely that we have to prevalidate the input, and build a buffer for parsing numbers instead...
Closes #1052 with modified syntax as discussed in Discord ``` module A // use as a submodule foreign module Namespace binds "namespace" { foreign value myFn binds "my_fn": WasmI32 =>...