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

Miguel de Icaza miguel at ximian.com
Sun Sep 21 21:02:51 EDT 2003


Hello,

> >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.

I feel that the default for the Mono VB.NET compiler should be to be
compatible with the Microsoft compiler.  If we want to have different
semantics, those should be set with some kind of extra flag, say /strict
or something like that.

> 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.

Can you tell us more about the problems you are facing with the parser? 
Maybe I can provide some suggestions about what we can do?

Miguel



More information about the Mono-devel-list mailing list