Skip to content

nish v0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Sep 18:19
· 1175 commits to main since this release
d3f71de

Added

  • runtime: Add readdirSync, spawnSyncTo and monotonicNanos, and the test runner they enable (#47)
  • runtime: Give every thread its own arena behind --threads (#55)
  • checker: Give every symbol a package scope (#57)
  • checker: Read a numeric enum as a distinct i32 type (#54)
  • codegen: Add slice, a string cut that checks instead of clamping (#53)
  • codegen: Store an array of records contiguously (#51)
  • checker: Compile generic functions by monomorphisation (#50)
  • checker: Call a C function with declare function (#62)
  • checker: Import the runtime builtins from nish:fs, nish:process and nish:io (#58)
  • std: Add std/json, and check the CLI contract from a harness in Nish (#65)
  • self: Let a construct be implemented once, in self/ (#66)

Fixed

  • codegen: Measure a -g position from the declaration, and its column in bytes (#60)
  • self: Assert the seed equality only when the seed is stage0 (#61)
  • checker: Key two generic rules on words only they contain (#64)

Performance

  • checker: Prove an index in range and emit no bounds check (#56)

Changed

  • runtime: Split the system-call half into runtime_os.c, with a ceiling each (#59)

Documentation

  • readme: Centred header, status badges and section rules (#45)
  • release: Fix the install links and record the npm name conflict (#49)
  • cli: Add a rules card the compiler's own tests keep honest (#63)

Tests

  • self: Pin every diagnostic wording a program can provoke (#52)