[Mono-devel-list] Patch for mbas/driver.cs

marco.ridoni at virgilio.it marco.ridoni at virgilio.it
Fri Sep 19 12:51:57 EDT 2003


>-- Messaggio originale --
>From: "A Rafael D Teixeira" <rafaelteixeirabr at hotmail.com>
>To: bernard at ugsolutions.com
>Cc: marco.ridoni at virgilio.it
>Subject: Re: [Mono-devel-list] Patch for mbas/driver.cs
>Date: Fri, 19 Sep 2003 11:52:47 -0300
>
>
>Thanks Bernard. Marco, give yuor opinion.

>Also I wouldn't like to endorse bad development habits, so unless there
is
>a 
>huge demand for that kind of  let-me-fire-a-bullet-at-my-own-foot 
>compatibility I prefer to simply document it as something that mbas is
more
>
>strict than vbc.

Fine by me.

>
>>I also noticed that MS take:
>>
>>Public Sub Main(args as String())
>>
>>whereas mbas needs
>>
>>Public Sub Main(args() as String)
>
>Probably we got it wrong on our parsing rules...
>
>That is the kind of  duality that makes us compiler writers cry: why so
many
>
>syntax variations for expressing a simple semantic?
>

VB.NET syntax, to put it mildly, is an awful mess. We have an even bigger
problem: since mBas is a direct derivative of mcs, we must make some compromises
due to the differences between the grammars (declarations in mcs' grammar
"flow" in a different way and order). There are already many horrid hacks
in mb-parser.jay to overcome the most blatant problems, but still there
is a lot to be done. BTW: ccc (ColorCubeCodeBase Mud Server) can currently
be parsed with only minor modifications. There are some problems with type
resolution which prevent it from compiling (static constructors, etc.) but
I hope these can be solved in a few weeks.

>I'll try to find and fix it, but Marco is normally faster at it.
>

I hope so, but I'm in the middle of switching jobs (again) and I'll probably
need some time to adjust. The good news is that I'm probably going to work
on some .NET related project.

mr




More information about the Mono-devel-list mailing list