[Mono-list] Medium project: VB.NET CodeDom provider.
Erik LeBel
eriklebel@yahoo.ca
Thu, 3 Jul 2003 23:18:58 -0400 (EDT)
--0-1453204504-1057288738=:79427
Content-Type: multipart/alternative; boundary="0-329244369-1057288738=:79427"
--0-329244369-1057288738=:79427
Content-Type: text/plain; charset=us-ascii
hi all,
since someone is getting into this CodeDom stuff, here is a crude set of incomplete unit tests from the C# code generator. The tests pass on .NET, but I've not tested it adequatly on Mono.
use them or not, but they may provide some guidelines for baselining the VB code generator.
-erik
Miguel de Icaza <miguel@ximian.com> wrote:
Hello,
> > Recently the following bug was submitted:
> >
> > http://bugzilla.ximian.com/show_bug.cgi?id=45735
> >
> > If someone was looking at something interesting to do, this is a
> > small little assembly that would generate VB code from the CodeDom.
> If someone is willing to give advice to me I can work on this.
There is an existing CodeDOM provider for C#, you could use that as a
sample in mcs/class/System/Microsoft.CSharp
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
---------------------------------
Post your free ad now! Yahoo! Canada Personals
--0-329244369-1057288738=:79427
Content-Type: text/html; charset=us-ascii
<DIV>
<DIV>hi all,</DIV>
<DIV> </DIV>
<DIV>since someone is getting into this CodeDom stuff, here is a crude set of incomplete unit tests from the C# code generator. The tests pass on .NET, but I've not tested it adequatly on Mono.</DIV>
<DIV> </DIV>
<DIV>use them or not, but they may provide some guidelines for baselining the VB code generator.</DIV>
<DIV> </DIV>
<DIV>-erik<BR><BR><B><I>Miguel de Icaza <miguel@ximian.com></I></B> wrote:</DIV>
<DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid; WIDTH: 100%">Hello,<BR><BR>> > Recently the following bug was submitted:<BR>> > <BR>> > http://bugzilla.ximian.com/show_bug.cgi?id=45735<BR>> > <BR>> > If someone was looking at something interesting to do, this is a<BR>> > small little assembly that would generate VB code from the CodeDom.<BR>> If someone is willing to give advice to me I can work on this.<BR><BR>There is an existing CodeDOM provider for C#, you could use that as a<BR>sample in mcs/class/System/Microsoft.CSharp<BR><BR>_______________________________________________<BR>Mono-list maillist - Mono-list@lists.ximian.com<BR>http://lists.ximian.com/mailman/listinfo/mono-list</BLOCKQUOTE></DIV></DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>
--0-329244369-1057288738=:79427--
--0-1453204504-1057288738=:79427
Content-Type: application/x-gzip-compressed; name="CodeDOM-CSharp-tests.tar.gz"
Content-Transfer-Encoding: base64
Content-Description: CodeDOM-CSharp-tests.tar.gz
Content-Disposition: attachment; filename="CodeDOM-CSharp-tests.tar.gz"
H4sICB7xBD8AC0NvZGVET00tQ1NoYXJwLXRlc3RzLnRhcgDtW3tv2zgS778u
kO9A+BZYey+RH7EtwLk7wHWTXoCkOcTpbg/NYiHbTKytHj6KSmos+t13hiL1
lh+J7fS6GgSxJA6Hw+FjfsPH0J3St1eXR8PRzGDzI0497jVebZdIp6nrOnlF
kJqpX/lC9J6uN3utXq9HSKut97qvSHfLeuSS73GDEQK/lC3ju2euP9+HQvul
YV7748d31KHM4C47Y6793rCpNzcm9AbStYm3WRmtZhObtaj9jzvdDrS/3my2
jnvdZpuQdqvT6rwizd1UOUl/8fb3PdO5J6OFx6l9cvA6/qrd0C88/U30FzfD
Kj/Drz03LcogXXG8/+CYXDtj0IUeXfZZpDiqP5FL13GxU3napTlhrufecS3o
iwev/zh4XYG/RqMR/Cf/8HzbNtjiX8F7BTOS80Rv/dEj8pni90TnPSSG5YJG
jyafEYNIIbbpmLZhEY9yIqtBJlAN16EOqKWKbiTLhv+fsPgz8wv3Gf0V3uf+
2DInZGIZnkeWDyHSTzLgtzeGR0EKVrqCiWEG0Cb+9k/i+JYlzFipfBpR/mGO
paviH1xzSs7B5LU6fhXiKviO8mv1E/GekUgfSaJMyfgV/wnhzOV0wumUuA+U
MXNKg4KUreOF3ataaYUtUUsocEgemckpOyTunJuu40ktg6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