Skip to content

Zenoscript 0.1.5: Critical Fixes and Enhanced Reliability โ€‹

Published: June 30, 2025

We're excited to announce Zenoscript 0.1.5, a critical stability release that addresses several important issues with the transpiler and significantly improves the overall developer experience.

๐Ÿ”ง Critical Fixes โ€‹

Pipe Expression Overhaul โ€‹

The biggest improvement in 0.1.5 is a complete rewrite of how pipe expressions are handled. Previously, complex pipe chains could produce malformed TypeScript output. Now they generate clean, readable code:

typescript
// Before (0.1.4) - Broken output
"hello world" |> trim |> toUpperCase |> console.log
// Generated: ().trim().toUpperCase()

// After (0.1.5) - Clean output  
"hello world" |> trim |> toUpperCase |> console.log
// Generated: console.log("hello world".trim().toUpperCase())

Comment Preservation โ€‹

Optional parentheses were incorrectly transforming content inside comments, breaking code documentation. This has been completely fixed:

typescript
// This comment used to get mangled: example code
// Now stays perfectly intact!
let result = myFunction "argument"

String Processing Improvements โ€‹

Fixed issues where string arguments in function calls could be corrupted during the transformation pipeline, especially in complex expressions.

๐Ÿงน Example Cleanup โ€‹

We've updated all examples to only showcase implemented language features. Removed experimental syntax like:

  • impl blocks (not yet implemented)
  • Pattern matching guards with when clauses
  • Generic bounds with extends

This ensures that every example you see will actually work when you try it!

๐Ÿ“Š Enhanced Testing โ€‹

Added comprehensive test coverage for:

  • Complex pipe chains with multiple method calls
  • Nested match expressions
  • Comment preservation across all transformation types
  • Edge cases in string and argument processing

โšก Performance & Reliability โ€‹

The transpiler transformation pipeline has been reorganized for better reliability and performance. Each transformation phase now has clear responsibilities and better isolation from others.

๐ŸŽฏ What This Means for You โ€‹

If you've been experiencing issues with:

  • Pipe expressions not working correctly
  • Comments getting mangled in your code
  • Examples from our documentation not working

Upgrade to 0.1.5 immediately - these are all fixed!

๐Ÿ”ฎ Looking Ahead โ€‹

With 0.1.5's stability improvements, we're now positioned to work on exciting new features for future releases:

  • Implementation blocks (impl) for methods on structs
  • Pattern matching guards with when clauses
  • Enhanced error reporting and debugging tools
  • Performance optimizations

๐Ÿ“ฆ Get 0.1.5 โ€‹

bash
# Install or upgrade
bun add zenoscript@latest

# Or use the install script
curl -fsSL https://zenoscript.dev/install.sh | bash

๐Ÿ™ Thank You โ€‹

Thanks to everyone who reported issues and helped identify these critical problems. Zenoscript is getting more stable and reliable with each release!


Have feedback or found a bug? Open an issue on GitHub or join our community discussions.

Released under the MIT License.