Skip to content

Wi 9.3.0-beta

Choose a tag to compare

@cyxigo cyxigo released this 23 Sep 12:11
· 313 commits to main since this release

General

  • Rename wi_compiler_local -> wi_local; wi_compiler_upvalue -> wi_cupvalue (b33264f)
  • Add nesting to block comments (48f9b5a)
  • Refactor old STD/STM functions to use "new" API (09cc5fc)
  • Remove dead macro in wi_state_error (3467ede)
  • Cleanup wi_compiler.c a tiny bit (570c550)
  • Add mod_count to buffers/arrays; update STM accordingly (6165ee6)
  • Update table->mod_count in wi_table_set/wi_table_delete too (93c4528)
  • Rename remaining STD/STM functions to flatcase (b3c6104)
  • Use signed integers in _bit_shift (1f56e48)
  • Use strtoull instead of strtoll for hex/oct/bin literals (73bb80c)
  • Update invalid utf-8 error messages (e37b4ea)
  • Bump dest->mod_count in wi_table_copy (b3d3f77)
  • Default globals to null at compile time (d9a8de2)
  • Check state->import_load result for NULL (_state_import) (cec8cc7)
  • Bump version to v9.3.0 (ee4d449)

STD

  • Add math::seed (_math_seed); add optional [min, max] to math::random (_math_random) (81f03b6)
  • Fix naming in io (wi_file -> _file) (f6bfccd)
  • Add os::system (_os_system) (2c7683d, edea630)
  • Add os::remove/os::rename (_os_remove/_os_rename) (07dd8b7)
  • Add os::sleep (_os_sleep) (7c37d04, 7384e7f)
  • Add std::char (_base_char) (9957d58)
  • Rename std::to_X -> std::X (bc754d2)
  • Rename _os_get_env -> _os_getenv (os::getenv) (ea3143a)
  • Add os::setenv (_os_setenv) (f78d141)
  • Use reals in math::random (_math_random) (1049b5c)
  • Add os::date (_os_date) (29cca57, 54b6e30, 4f823e4)
  • Rename std::is_x -> std::isx; std::has_field -> std::hasfield (b53986b)
  • Add io::exists (_io_exists) (751011d)
  • Add WI_PATH_MAX (wi_util.h); add os::cwd (_os_cwd) (f270df2)
  • Add os::mkdir (_os_mkdir) (f033dc1)
  • Add io::writebytes (_io_writebytes); add io::readbytes (_io_readbytes) (1093d8c)
  • Add std::gc (_base_gc); add std::memoryused (_base_memoryused) (bdf4535)

STM

  • Add array->join (_array_join) (b7ad105)
  • Add string->repeat (_string_repeat) (b6bf480, 5d7252c, f565897)
  • Add string->bytes (_string_bytes) (7b90078, f5c4ea9)
  • Root value in _map_select (1abf18f)
  • Root pivot in _aqsort_partition (fa9d842)
  • Add write barriers to _aqsort_swap (156055e)
  • Bump mod_count in _array_clear/_map_clear (1918caa)
  • Bump array->items.mod_count in _array_reverse (f91dfd9)

Repository

Full Changelog: v9.2.1-beta...v9.3.0-beta