Calls now stage their arguments and push them in reverse so arg0 lands at
FP+2, each body gets a patched frame prologue when frames are requested, and
return leaves the frame with a byte or word result preserved. A new args
fixture proves the parameter and result path in x128.
Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Analysis shows the type checker already models class/interface references, so
the work is emitter-side: four-byte slots, member transfers and if_call sites.
E04-S07 becomes a dependency because argument push/discard is its work.
Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
E07-S05 specifies the on-machine n128c driver that prepare-disk and the
compiler launcher already expect; E06-S07 specifies emitting interface
conversions, storage and calls from source. E07-S04 now depends on both, so the
walkthrough cannot be claimed before them.
Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The editor launcher now copies the Vim disk, injects vim128.prg into the copy,
and autostarts that disk copy in x128 80-column mode; host-loaded editor
sessions reported success without writing to the image.
E07-S03 adds a C128 tokenizer fixture and a two-session test that creates a
source in Vim, reopens it, and tokenizes the disk file without host conversion.
Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Generated methods can now store and load fields through a zero-page receiver,
pass self to direct JSR calls, and keep byte or word results across argument
cleanup. The backlog gains the parser-to-codegen and pass-3 address assignment
stories the next backend work needs.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Nova128 is an object-oriented language with an on-machine C128 compiler.
This adds the spec, decisions, architecture, backlog, and story claims,
plus the grammar fixtures (E00-S02), disk-image builder (E07-S01), and
the x128-verified platform probes:
- E01-S01 minimal native PRG
- E01-S02 MMU/common-RAM probe. With bottom common on, a P0/P1 pointer
aimed at bank 1 lands in bank 0 at the translated page. The verifier
traces every MMU write in the probe window.
- E01-S03 KERNAL wrapper (kcall). CHROUT, drive status, and a
device-not-present failure work from bank 0 and bank 1 mappings.
A/X/Y/C/ST are preserved and the MMU state is restored exactly.
- E01-S04 40/80-column display and clock probe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>