grain
grain copied to clipboard
The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
Right now if you format `foo && bar && baz` (imagine those are all long things that cause wrapping) you get ``` foo && bar && baz ``` but if...
At the moment, for our structural equality check, we simply do a `==` comparison on floating-point numbers. This is awkward, though, if we are, say, comparing a float32 and a...
This has been a bit of a workaround that has worked for a while but will likely cause problems. https://github.com/grain-lang/grain/blob/3e7c147fea2d2fb8b7c5a3d6b3eb1453f2861e36/compiler/src/typed/typemod.re#L987
Currently, there are a few functions in the array and list modules such as `map`, `filter`, and `reduce` that have equivalent functions receiving an index as well as the element...
This is a breaking change and thus should appear in Grain's next breaking release. See also #730
Add The Following Functions to the number Libary. + [ ] Number.sin() + [ ] Number.cos() + [ ] Number.tan() + [x] Number.asin() + [x] Number.acos() + [x] Number.atan() +...
Add a libary for working with file paths to help once #211
Reproduction: https://github.com/spotandjake/BriskLinker @fad4f7235157ff36d1bc4a5084e9927fa481bd3b Running `grain index.gr` you get: ``` File "/linker/BuildFile.gr", line 84, characters 57-67: Error: This expression has type %WasmDecoder.WasmImportDescription but an expression was expected of type WasmDecoder.WasmImportDescription WasmDecoder::WasmImportDescription...
I think It's will be nice if add grain to Termux Packages, make easy to install on Android Devices. and allow people to learning grain and do prototyping stuff form...