Koru v0.1.6

· 2 min read

v0.1.6 is out. Windows compatibility fixes, kernel performance improvements, and crossing 555 passing regression tests.

npm install -g @korulang/koru@0.1.6


Highlights

Windows Compatibility

  • Removed raw posix.write from io.kzprint.ln and print.blk now use std.debug.print across all platforms. (a2cb783)
  • Fixed backslash path escapingkoru_home paths are now normalized to forward slashes, fixing \U invalid escape errors in generated build.zig on Windows. (b0618fe)

Kernel

  • Kernel step fusion — multi-step iteration with kernel:step for efficient numerical workloads. (e752f0c)
  • Kernel scope validation — lexical scope checks and multi-op fusion support. (1bafa90)
  • nbody benchmark — idiomatic Koru kernels now match specialized C performance. (a3e9689)

Parser & Compiler

  • Dynamic help discovery--help now discovers flags and commands from the full AST, including imports. (a5b5199)
  • Multi-level pipeline parsing — improved chain parsing for complex flows. (9ae8f2e)
  • Better error messages — nested flows in pipeline continuations now produce clear errors. (3d54daa)

Phantom Types

  • Base type filtering — auto-discharge inserter filters disposal events by base type, preventing state collisions. (15755bf)
  • Lazy base type checking — delegate to Zig by default, --strict-base-types for eager Koru-native checking. (0813842)

555 regression tests passing — up from 506 in v0.1.4.


Koru is an event-continuation language. Read the source, or start with Introducing Koru.