Skip to content

← All updates

session

Update 11: Enhanced built-in types

The built-in collection types grew up in one push.

  • 49 new built-in methods across String, Vec, and HashMap: contains, starts_with, trim, split, replace, to_uppercase, parse_int, insert, remove, sort, reverse, get_or, and more.
  • Full runtime implementations in the interpreter; type checking and IR lowering for every method.
  • Native x86-64 implementations in the PE emitter for the core set (len, is_empty, clear, first, last, contains, parse_int, …), with stubs registered for the rest.
  • A comprehensive collections test suite covering all 49 operations, with every test passing in the interpreter.