Keep BASIC fixtures within the input line limit
All checks were successful
akbasic CI Build / cmake_build (push) Successful in 3m50s
akbasic CI Build / coverage (push) Successful in 4m4s
akbasic CI Build / sanitizers (push) Successful in 4m48s
akbasic CI Build / akgl_build (push) Successful in 9m55s
akbasic CI Build / mutation_test (push) Successful in 17m50s

Reflow the approved reference cases, shorten local fixture comments, and split the executable docs line so the 80-byte input buffer can read every source line.

Co-authored-by: andrew <andrew@aklabs.net>
This commit is contained in:
2026-08-04 16:12:42 -04:00
parent e13a8a6da1
commit 7d0ec1fe83
17 changed files with 39 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
10 REM A leading zero is padding, not a radix. The reference selects base 8 for
20 REM any lexeme starting with 0, so 010 printed 8 and 08 was a parse error --
30 REM TODO.md section 6 item 10, fixed. Commodore BASIC has no octal literals.
40 REM 0x is the one prefix that changes the base, and it now reaches the scanner
10 REM A leading zero is padding, not a radix. The reference selects base 8;
20 REM 010 printed 8 and 08 was a parse error -- TODO.md section 6 item 10.
30 REM Commodore BASIC has no octal literals.
40 REM 0x is the one prefix that changes the base and reaches the scanner
50 REM whole: that was section 6 item 15.
60 PRINT 010
70 PRINT 08