Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Jamie Balfour'sPersonal blog

ZPE 1.14.2 brings three major features.

Universal template parsing

Template parsing was introduced some time ago, but was released only in January 2026 with ZPE version 1.14.1. In the latest release, version 1.14.2, template parsing is available anywhere, including in parameters and return values.

Scope blocks

Many languages have scope blocks, and now YASS does too. They are nice and easy to use as well. Simply using the double brace syntax ({{ }} or the block syntax (block . . . end block), you can create an isolated scope block:

YASS
// Everything here runs inside the implicit GLOBAL function

$total = 100
print("Start total: " & $total)

block

  // This variable exists ONLY inside the block
  $total = 25
  print("Inside block: " & $total)

  // Blocks can still see outer variables
  $discount = 10
  $total = $total - $discount
  print("After discount: " & $total)

end block

// Block variables are discarded
print("End total: " & $total)

Variable scoping

Additionally, variables declared as private in a function are scoped to the containing function and no longer modify parent or global variables, allowing safer encapsulation while preserving YASS’s simple scoping model.

Powered by DASH 2.0