Kelly wrote:
> Dear Ted - It will be interesting to see how you work this out in BNF for
> jbasic.jj:
>
> GotoStatement ::= <GOTO> ( Name | <INTEGER_LITERAL> )
>
> Thats funny (considering its Java)!
Well, the BNF document that was linked to still has the full BNF Grammer for
VisualBasic. I will not be supporting the more 'crufty' BASIC constructs like
GOTO, line numbers, While/Wend, etc. but until it is decided exactly what to
leave in and what to take out I am just leaving all of it in because it does
not hurt anything.
The Grammer also does not show any of the Java language additions yet but I am
sure that things like Object references, the ++ and -- operators and the // and
/* */ comments will be brought over.
The data types will also be the standard Java data types which should make this
part of the language fairly clean.
Ted
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
|