Update docs: compiler 67/72 tests (93%), CHAIN/COMMON/RUN supported

This commit is contained in:
Eremey Valetov
2026-03-29 19:41:49 -04:00
parent 28055326bb
commit 8ee17b9e2a
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
| 0.13.0 | | VIEW/WINDOW/PALETTE graphics, PMAP function, MBF float format for CVS/CVD/MKS$/MKD$ |
| 0.14.0 | | MBF binary file compatibility (IEEE↔MBF at save/load boundary), fix binary loader null-byte truncation, fix DRAW M/S/A bugs, add TA/=var;/X substring |
| 0.15.0 | | Hardware I/O simulator, gap-fill (100% token coverage), string pool + compacting GC, Jupyter kernel (Sixel graphics, INPUT, Pygments), ahead-of-time compiler Phase 1 |
| 0.16.0 | | AOT compiler complete: 64/72 tests pass (89%), zero compile errors. Token embedding for complex statements, string comparison, division-by-zero detection, FIELD read-back, PMAP/POINT, MID$ assignment, CVI/MKI$, CLEAR resize, ENVIRON/IOCTL$ delegation |
| 0.16.0 | | AOT compiler: 67/72 tests pass (93%), zero compile errors. CHAIN/COMMON/RUN "file" via runtime delegation, token embedding, string comparison, division-by-zero detection, FIELD read-back, graphics (PMAP/POINT/PSET), MID$ assignment, CVI/MKI$, file I/O delegation |
## Tests

View File

@@ -28,7 +28,7 @@ version is structured as modular C suitable for new feature development.
- **Classic programs** — Hamurabi, Lunar Lander, Gunner, and Diamond from
David Ahl's *BASIC Computer Games* (1978) run out of the box
- **Ahead-of-time compiler** — `gwbasic-compile prog.bas -c` produces native
executables via C codegen + GCC (64/72 tests pass, 89%)
executables via C codegen + GCC (67/72 tests pass, 93%)
- **Jupyter kernel** — inline Sixel graphics, INPUT support, Pygments syntax
highlighting; `pip install -e . && gwbasickernel-install --user`
- **72 test programs** with golden-file regression testing and DOSBox-X

View File

@@ -37,8 +37,8 @@ MID$ assignment delegation, ON ERROR GOTO with setjmp/gw_run_jmp,
RESUME/RESUME NEXT, ERR/ERL, file I/O delegation (OPEN/CLOSE/PRINT#/
INPUT#/WRITE#/LINE INPUT via emit_delegate_stmt), PMAP/POINT/PSET
graphics, BSAVE/BLOAD/SAVE/LOAD, MKDIR/CHDIR/RMDIR/KILL file ops.
**64 of 72 tests produce correct output (89%).** Only 5 failures remain:
3 structural (CHAIN/COMMON/RUN "file" unsupported) and 2 RNG-dependent.
**67 of 72 tests produce correct output (93%).** CHAIN/COMMON/RUN "file"
delegated to runtime interpreter. Only 2 failures remain (RNG-dependent).
### Hardware I/O Simulator (v0.15.0)