Skip to content

parse_quantity#7

Closed
TurkeyMan wants to merge 143 commits intoTurkeyMan:masterfrom
open-watt:parse_quantity
Closed

parse_quantity#7
TurkeyMan wants to merge 143 commits intoTurkeyMan:masterfrom
open-watt:parse_quantity

Conversation

@TurkeyMan
Copy link
Owner

Added parse_quantity and fixed a lot of little bugs around that.

TurkeyMan and others added 30 commits August 17, 2025 17:04
Migrate to lower_snake case...
Also improve user type support... which is kinda unrelated, but ya-know!
Remove a couple of dangling phobos references.
Added ChaCha stream cypher
Minor improvements to urt.time
 - can resolve class variants to base classes
 - added pure hack for TypeDetails lookup, since the table is immutable after construction
 - const-correctness fixes
 - readability improvements
Made CacheString pure, since the cache is immutable.
Improved the compare function a bit
The body of Array.concat was just completely missing!
TurkeyMan and others added 29 commits January 19, 2026 19:03
- Moved the scaling factor outside of the SI unit parsing, since all units can be scaled.
- Fixed an issue where some units could incorrectly have SI prefixes added to them.
…m keywords.

  - Tweak `trim` to accept a predicate (default to `is_whitespace`)
  - Tweak `uni_seq_len` to remove some redundant logic.
  - Fix `uni_compare` and simplify the implementation a bit.
Minimise error accumulation from floating point precision loss from unnecessary arithmetic.
Trim underscore from enum keys...
Add a function to adjust a Quantity scale
Add some helpers to StringCacheBuilder
Improve `Array!char.concat/append`
Fix CTFE implementation of qsort!
Reserve null in the string cache
@TurkeyMan TurkeyMan closed this Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants