Gears
Gears
Closes #1488 This PR implements support for binary operations in constants. A few notes: - It's still missing tests. This probably needs a lot of tests. - This is implemented...
Related PR: https://github.com/gleam-lang/gleam/pull/4468 Leaving this as a draft until bool assert is released, as this code doesn't compile in current Gleam.
Some binary protocols (for example [ID3](https://id3.org/)) use UTF-16 encoded text, which right now must be manually converted to a string. It could be useful to have `bit_array.to_string_utf16` function to perform...
Closes #3869 This PR implements the basic process of function inlining, without any heuristics to determine which functions to inline, we just use a hardcoded list. The code for this...
This PR closes #4606
I was decoding some UTF-16 data in Gleam, but it was little-endian encoded, which means I could not use the `utf16_codepoint` segment for bit array pattern matching, because it doesn't...
While the language server prevents you from renaming types and values from other packages, it seems to allow renaming of prelude values: ```gleam pub fn main() -> Nil {} ```...
There are still many features of bit arrays that are not yet implemented on the javascript target. We want to have all of them eventually, but it's a lot to...
After implementing assignment patterns in bit arrays, we realised that we had not considered how to handle `utf16` and `utf32` options. For example with this code: ```gleam let assert =...
I noticed that signature help is still using the old `pretty::Printer`, which means it does not print qualified types or aliases correctly. Switching to the new `type_::Printer` should be pretty...