[Mono-list] Question on Code Generation

Mono Trober monotrober at gmail.com
Mon Apr 6 22:02:43 EDT 2009


> I see what CodeSmith actually generates, it may be relatively
> straightforward to produce a template generator
I did an eval and tossed it.
You can duplicate enough of what it does in very little time.

> cut down the clutter
???  You can clutter things with the templates you build, or not.



----- Original Message ----- 
From: "anton123" <niniendowarrior at gmail.com>
To: <mono-list at lists.ximian.com>
Sent: Monday, April 06, 2009 7:24 PM
Subject: Re: [Mono-list] Question on Code Generation


>
> Well, sounds like I'll have to roll up some sleeves and start hacking. :-)
> Actually, that's what one of the other teams is using (of which I have 
> very
> little information other than the tools they use, e.g. Visual Studio and
> CodeSmith).  Me and my co-workers are expecting that we may have to adopt
> that to dive right in and work with their code.  As of now, the word is 
> that
> CodeSmith will be able to cut down the clutter on many things.  I presume 
> if
> I see what CodeSmith actually generates, it may be relatively
> straightforward to produce a template generator.
>
> If anyone has ideas and opinions, I'll really appreciate it because it's
> still some time away from when I'll be doing some heavy .Net work and 
> would
> be nice to be prepared.
>
> Thanks!
>
>
> Trober wrote:
>>
>>> Can anyone shed some light?
>> there's not that much to CodeSmith, why bother vs. building a quick
>> parser/template/generator?
>> you're better off getting a simple grammar(s) together with an 
>> easy-to-use
>> parser, and just fill in the templates yourself
>> you'll own the generators when done, and they don't take up that much
>> extra
>> effort vs. what they save
>>
>>> I'm anticipating a lot of code-generation heavy work.
>> shed some light on what you're trying to build.
>> Anything that's ORM, service framework (aspx, asmx, WCF, etc.), and even
>> UI
>> parts should be auto-gen'd  :-)
>>
>>
>>
>> ----- Original Message ----- 
>> From: "anton123" <niniendowarrior at gmail.com>
>> To: <mono-list at lists.ximian.com>
>> Sent: Monday, April 06, 2009 6:00 PM
>> Subject: [Mono-list] Question on Code Generation
>>
>>
>>>
>>> I'm wondering if there's a Mono substitute/counterpart to CodeSmith (or
>>> if
>>> Mono does support CodeSmith).  I'm hoping it might since I'm 
>>> anticipating
>>> a
>>> lot of code-generation heavy work.  Can anyone shed some light?
>>>
>>> Thank you so much!
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Question-on-Code-Generation-tp22919191p22919191.html
>>> Sent from the Mono - General mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Question-on-Code-Generation-tp22919191p22920025.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list 



More information about the Mono-list mailing list