2026.05.18

  • ~literalizer.literalize_call can now bind a zero-argument call to a variable_form. Previously a variable_form was rejected outright with per_element=True and the whole-value path (per_element=False) always passed one argument, so the zero-argument constructor case (p2 = Playlist(), let p2 = Playlist::new();) had no representation. A variable_form is now accepted whenever the input produces exactly one call: per_element=False as before, or per_element=True over a single-element source (a [[]] source yields the zero-argument constructor). Zero calls or more than one call are rejected with ~literalizer.exceptions.UnsupportedCallShapeError. As part of this, a call-result binding no longer carries a type annotation derived from the call’s argument data (which a strict type-checker rejected, since the annotation describes the argument, not the call’s return type): ~literalizer.Python now binds the call result with a plain name = value and the annotation-only preamble it would have required is no longer emitted.

  • ~literalizer.literalize_call now honors collection_layout=CollectionLayout.COMPACT for the $zipped literal exposed on ~literalizer.CallContext. Previously a mapping paired through zip_source always rendered multi-line, even though the call-argument mapping rendered by the same call was single-line under the same setting, which split a one-line call_transform across several physical lines. The $zipped literal is now rendered through the same whole-value path as call arguments, so a compact mapping stays on one line.

  • Added support for Haxe as a new output language. Haxe renders every collection literal with an explicit (... : Array<Dynamic>) or (... : Map<String, Dynamic>) cast, so heterogeneous and empty collections type-check without per-variable annotations. Maps use Haxe’s ["key" => value] literal syntax and strings use the double-quoted form (no interpolation). Calls use positional syntax with local-function and anonymous-structure-closure stubs emitted inside static function main(). A new lint-haxe job in .github/workflows/lint.yml compiles and runs every .hx fixture in a single haxe --interp invocation.