|Look for a LALR grammar for visual basic email@example.com (Thierry Supplisson) (1997-08-16)|
|Re: Look for a LALR grammar for visual basic firstname.lastname@example.org (Scott Stanchfield) (1997-08-19)|
|Re: Look for a LALR grammar for visual basic email@example.com (1997-08-20)|
|Re: Look for a LALR grammar for visual basic firstname.lastname@example.org (1997-08-24)|
|Re: Look for a LALR grammar for visual basic email@example.com (Scott Stanchfield) (1997-09-07)|
|Re: Look for a LALR grammar for visual basic firstname.lastname@example.org (1997-09-12)|
|From:||email@example.com (Gene Wirchenko)|
|Date:||20 Aug 1997 23:56:32 -0400|
|Organization:||All USENET -- http://www.Supernews.com|
Scott Stanchfield <firstname.lastname@example.org> wrote:
>Unfornately, my NDA with them prevents me from saying much more about
>it... I think I can say that it was a fairly nasty beast in some areas:
> IF x = 1 THEN
> 100: END IF
>which would complicate a grammar significantly (yes, VB allows a label
>on things like "END IF" -- yuck!
If you're going to allow goto, it makes sense to me to allow a
branch to the end of a block (from within the block only I hope).
Consider the equivalent in C:
You could say that there is a null statement before the } and
that may be so. (I'm not up on the Standard sufficiently to be sure.)
In that case, it's so in the BASIC example, too.
Return to the
Search the comp.compilers archives again.