[Mono-list] I want to get in on this.
Ravi Pratap M
Wed, 11 Jul 2001 21:18:43 +0530 (IST)
As a matter of fact, it doesn't currently handle this :) But
thanks for bringing it to our attention.
Like most people working on gb, I am hardly familiar with all of
VB's quirks and it seems that there is always some ugliness like this
rearing its head every now and then :-) It's like being allowed to
randomly omit braces in C !
We'll work on this but perhaps we need to use something more
powerful than bison ?
Michael : comments ?
On Wed, 11 Jul 2001, Jay Freeman (saurik) wrote:
> Interesting... yacc... how are you dealing with collapsed Next structures
> using yacc (as it shouldn't be fundamentally capable of this)?
> For X = 1 To 10
> For Y = 1 To 20
> Next Y, X
> I have been looking into building a VB6 compiler for .NET for a while (as it
> would be quite useful for legacy code, seeing that the update wizard isn't
> able to convert all code, yet strange enough to throw into a bank of
> "arcane" compilers such as BrainFuck for a laugh, which I released a simple
> .NET compiler for last night), rooting through old compiler and parser
> mailing lists looking for people who have talked about this before. Some
> people mentioned you could mess with the trees before it goes into yacc, but
> the general concenses among the few people who worked for companies that
> have actually been proven to have accomplished this feat was that you should
> just go with something more powerful than bison/yacc (I believe someone
> mentioned that ANTLR's predicates might make it up to the task, but I might
> have remembered that incorreclty).
> Jay Freeman (saurik)
> ----- Original Message -----
> From: "Ravi Pratap M" <email@example.com>
> To: <Bob_Salita@SoftworksLtd.com>
> Cc: <firstname.lastname@example.org>
> Sent: Wednesday, July 11, 2001 7:06 AM
> Subject: Re: [Mono-list] I want to get in on this.
> > So, if you're interested in seeing the GB grammar file, you can
> > find it in the CVS module 'gb' in gb/grammar.y. It is fairly clean and
> > self explanatory so perhaps you'd like to take a look.
> > Regards,
> > Ravi
> > Ravi Pratap M <email@example.com>
> > <http://www.iitm.ac.in/~ravi>
> Mono-list maillist - Monofirstname.lastname@example.org
"If you're smart, you'll be humble. There always is somebody
who hasn't read a book and knows twice as much as you do."
-- David Duchovny in Readers' Digest
Ravi Pratap M <email@example.com>