Gears

Results 24 issues of 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...

help wanted

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...

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...

help wanted
priority:medium

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 {} ```...

help wanted
priority:medium

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...

help wanted

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 =...

help wanted
discussion

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...

help wanted
priority:medium