Skip to content

Ghi v0.2.10

Choose a tag to compare

@arm092 arm092 released this 28 Sep 17:17
· 11 commits to master since this release

Conditional expressions

  • Add condition ? trueValue : falseValue with strict bool conditions, compatible inferred result types and lazy branches.
  • Preserve nullable ?Type, generic/default arguments, closures, exception propagation and original source coverage.
  • Require parentheses around nested ternaries; shorthand ?: is not supported.
  • Canonical formatting, English language documentation and runnable examples/ternary included.

Compiler tests and vet passed on Windows amd64. Release binaries created and executed a new project and the ternary example on Windows/Linux amd64. Linux ARM64 syntax analysis passed under emulation. Ghi Quality v0.1.1 and GoLand 251/262 compatibility checked.

Six portable archives, Windows setup and a macOS installer build kit are included. Mojave remains v0.1.0. Installers are unsigned. The macOS kit is not a prebuilt .pkg; native macOS/Homebrew checks remain deferred. Verify downloads against checksums.txt.