help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing a language with optional spaces


From: Maury Markowitz
Subject: Re: Parsing a language with optional spaces
Date: Mon, 6 Jul 2020 15:48:19 -0400

> On Jul 6, 2020, at 1:30 PM, Christian Schoenebeck <schoenebeck@crudebyte.com> 
> 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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]