Re: Parsing a language with optional spaces

Maury Markowitz <[email protected]>
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
> On Jul 6, 2020, at 1:30 PM, Christian Schoenebeck <[email protected]> wrote:
> Which would resolve that ambiguity of your example, if it actually exists, as
> I have never seen "FOREX" as valid BASIC loop definition before, if there is,
> sources for that specification appreciated.

BASIC Computer Games, Super Star Trek, page 159, line 530:

530 FORI=1TO9:C(I,1)=0:C(I,2)=0:NEXTI

Super Star Trek is one of the best test codes you can find, it has an example of practically every construct in "standard" BASIC, with the exception of "GO TO" as opposed to "GOTO", which some considered to be a separate token (likely those from houses with prior JOSS/FOCAL experience).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.