Skip to content

WIP: unblock op/write.t format declarations - #1230

Merged
fglock merged 1 commit into
masterfrom
fix/issue-1116-op-write
Sep 2, 2026
Merged

WIP: unblock op/write.t format declarations#1230
fglock merged 1 commit into
masterfrom
fix/issue-1116-op-write

Conversation

@fglock

@fglock fglock commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

WIP implementation for #1229, part of #1116.

op/write.t was terminating at its first test because FormatNode declarations
were discarded by constant folding. The fix preserves those nodes and registers
formats in both execution backends.

Plan

  • Preserve format declarations through constant folding.
  • Register declarations during JVM block emission.
  • Register declarations in interpreter bytecode.
  • Add focused project-owned regression coverage.
  • Validate with system Perl, JVM, interpreter, and make.
  • Continue the remaining op/write.t format semantics in follow-up commits.

Validation

  • New regression: system Perl, JVM, and interpreter pass.
  • Full make: pass (after implementation fix).
  • op/write.t: progressed from 0/636 blocked to 468/636 executed; remaining failures are later format semantics and are retained for this WIP investigation.

Keep FormatNode instances during constant folding and emit their runtime
registration in both the JVM and interpreter backends. This unblocks the
initial format lookup fatal in op/write.t and adds focused regression coverage.

Refs: #1116, #1229

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <223364370+openai-codex[bot]@users.noreply.github.com>
@fglock
fglock merged commit 5d5bbc2 into master Sep 2, 2026
2 checks passed
@fglock
fglock deleted the fix/issue-1116-op-write branch September 2, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant