3 Commits
Author SHA1 Message Date
Phillip Heller 1b953642e9 bytecode: add cod_file_load_buf (parse a .cod/.pgm from memory)
- Factor cod_file_load's parsing into cod_file_load_buf(data, size, name_hint),
  which does not take ownership of the buffer; cod_file_load reads the file and
  delegates. Lets callers parse objects loaded from an archive (STAGE.DAT) or
  other in-memory sources without a temp file. Behavior is unchanged.
2026-08-13 09:19:46 -06:00
Phillip Heller ca897ac080 Batch: compiler/formatter work in progress, decompiler TODO
- TODO.md: decompiler emits a truncated vars list when DATA contains a
  struct overlay (ENPHSTAC), breaking best-effort round-trip; fix is to
  size vars from the highest referenced register or the COD data-area
  size.
- Compiler/formatter/lexer modifications committed as-is with this batch.
2026-08-01 18:03:39 -06:00
Phillip Heller a432ef5b5f Initial commit. 2026-06-21 11:34:08 -06:00