Skip to content

NLang 0.6.0

Choose a tag to compare

@dliting dliting released this 12 Sep 06:43
· 585 commits to master since this release

Added

  • Array-valued expressions carry a resolve-time type property; jagged
    array declarations (T[][]) and non-container foreach sources are
    rejected at compile time with named diagnostics.
  • GC tracks array records held in array-typed element slots.

Changed

  • .nmod format floor raised to v1.10: array struct/class fields now
    store RTK_Array as their field kind (previously the element kind);
    older modules must be recompiled.
  • Streaming a struct with an array field (bs.writeStruct) now throws
    a named error instead of silently writing the raw heap handle.

Fixed

  • Class fields typed int[] no longer break toString() dispatch.
  • .length resolves on any array-valued receiver (li.get(0).length,
    lib.mk(3).length), not just identifier locals/fields.

Install: run NLang-0.6.0-win64.exe (UAC prompt expected; defaults
to C:\Program Files\NLang), or unzip NLang-0.6.0-win64.zip for a
portable layout. Prefer bin\nide.exe and its Help menu — the full
offline documentation site ships in the package.