SamCoVT / TaliForth2

A Subroutine Threaded Code (STC) ANSI-like Forth for the 65c02
Other
29 stars 5 forks source link

Tali only supports 255 char counted strings with WORD - update ENVIRONMENT? #32

Closed SamCoVT closed 5 months ago

SamCoVT commented 6 months ago

Change ENVIRONMENT? result for "/COUNTED-STRING" to 255, as we only use a byte for the length. This also solves an issue where the max line length must at least match the longest counted string, according to forth-standard.org section 3.4.1, and we only support up to 255 char lines for input.