Re: [Mono-list] My own language with mono?

2009-04-17 Thread Mono Trober
 How would have my code compile with mono?
this is a general-purpose language, or something like a (typically smaller, 
simpler) domain-specific language (DSL)?

 I could output C# source (or C, or C++). I could also translate it to 
 basic
 instructions like int a; a = 5; a+=6*2; into DECL INT a; A = 5; A += 6*2 
 (or
 REG = 6*2; A = A + REG;). What is the easiest way?
this is why I asked if a DSL.  Why would be you translating a 
general-purpose lang to yet-another-gen-purpose-lang?
DSLs, many times, do that, though.  And, the answer is almost always related 
to what it the target/purpose of the DSL?

- Original Message - 
From: BlueHawk204 bluehawk...@hotmail.com
To: mono-list@lists.ximian.com
Sent: Friday, April 17, 2009 8:28 PM
Subject: [Mono-list] My own language with mono?



 I been wanting to write my own language and i was thinking about having it
 compile with mono. I know boo uses mono. How would have my code compile 
 with
 mono? someone suggest outputting the bytecode but i dont want to optimize
 (and i imagine mono is loads better at it then i am) so what can i do?

 I could output C# source (or C, or C++). I could also translate it to 
 basic
 instructions like int a; a = 5; a+=6*2; into DECL INT a; A = 5; A += 6*2 
 (or
 REG = 6*2; A = A + REG;). What is the easiest way?

 Am i posting this in the right section?
 -- 
 View this message in context: 
 http://www.nabble.com/My-own-language-with-mono--tp23107244p23107244.html
 Sent from the Mono - General mailing list archive at Nabble.com.

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list 

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Question on Code Generation

2009-04-08 Thread Mono Trober
I'd like to hear about, you can email me directly if you don't mind.

I'm working on Microsoft Oslo stuff for my own shop and asked via the Mono 
wiki if Mono work in-progress to support it.
Due to Oslo currently being on a preview pre-release (CTP), Mono will wait. 
Understandable.
But, I'd be interested in seeing to it Mono can support .Net 4.0 modeling 
the very day.Net 4.0 releases.



- Original Message - 
From: anton123 niniendowarr...@gmail.com
To: mono-list@lists.ximian.com
Sent: Tuesday, April 07, 2009 6:08 PM
Subject: Re: [Mono-list] Question on Code Generation



 I took a peek at T4 and it looks interesting.  I'm still going through the
 tutorials on Mono development though so I'll take a deeper look on it once 
 I
 get a better handle on Mono.

 I'll try everything I can to make Mono work for my project.  I'm hell bent
 on it.  That much can be said. :-)


 jhill wrote:

 CodeSmith 2.6 is almost 5 years old.  Sadly, it probably isn't that far
 off from working with Mono, but it has some p/invokes, and after this
 long, it doesn't seem like they have any incentive to do any maintenance
 on the freeware tool.  If you want to generate code from CodeSmith
 tempates on Mono, then it may be worth seeing if they have plans to
 support Mono with a newer version of their tool.

 On the other hand, I would love to see the T4 community grow.  It seems
 like a lot more projects are starting to use it (particularly MS
 projects)...

 --Joseph
 Hi Michael!

 Thanks for the information.  As a short exercise, I tried to run the
 freeware version of CodeSmith (2.6) on Mono and it didn't work.  At 
 least
 I
 tried.

 I was also thinking that CodeSmith should generate code that Mono can 
 use
 as
 well.

 I'm writing on Linux mostly and I'm trying to really make this work 
 since
 I
 don't want to own a Windows box for this.  I'm scouring for everything
 that
 I can about this.

 Thank you for the link on T4.  I'll be sure to read up on it.


 Michael Hutchinson wrote:

 On Mon, Apr 6, 2009 at 7:00 PM, anton123 niniendowarr...@gmail.com
 wrote:

 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?

 I don't know whether CodeSmith runs on Mono, though it must be able to
 generate code that will run on Mono, so if you're writing code on
 Windows, then it might be a good choice.

 If you're in Linux/Mac, or you need more flexibility to customise and
 ship the generator, then check out Mono's implementation of Visual
 Studio's T4 (Text Template Transformation Toolkit) system:
 http://tirania.org/blog/archive/2009/Mar-10.html

 -- 
 Michael Hutchinson
 http://mjhutchinson.com
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list






 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 -- 
 View this message in context: 
 http://www.nabble.com/Question-on-Code-Generation-tp22919191p22940139.html
 Sent from the Mono - General mailing list archive at Nabble.com.

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list 

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Question on Code Generation

2009-04-06 Thread Mono Trober
 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 niniendowarr...@gmail.com
To: mono-list@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 niniendowarr...@gmail.com
 To: mono-list@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@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

 ___
 Mono-list maillist  -  Mono-list@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@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list 

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Microsoft Oslo

2009-03-28 Thread Mono Trober
ah, yes.  I have this, too.
I'm curious if there's anyone talking about a Mono project to support Oslo.
Oslo is CTP now, and the grammar et. al. is not hard to do in ANTLR et. al.
Might be nice to follow along w/ Oslo's progression as it unfolds.
I expect there will be massive pre-built frameworks, dynamic templates, etc. 
hitting the market before too long.  Having Mono capability is a good thing.


- Original Message - 
From: Atsushi Eno atsushi...@veritas-vos-liberabit.com
To: Mono Trober monotro...@gmail.com
Cc: mono-list@lists.ximian.com
Sent: Friday, March 27, 2009 11:19 PM
Subject: Re: [Mono-list] Microsoft Oslo


I may write some code, but it is not related to mono work. I haven't
 even tried Oslo. I just got interested in a new form of parser
 generator, and may lose interest depending on my need.
 http://github.com/atsushieno/mmm/tree/master

 Atsushi Eno


 Mono Trober wrote:
 Anyone doing/planning Mono work related to Microsoft Oslo?
 I see some chatter on various forums, months old, though.
 Regards,
 Trober


 

 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Microsoft Oslo

2009-03-27 Thread Mono Trober
Anyone doing/planning Mono work related to Microsoft Oslo?
I see some chatter on various forums, months old, though.
Regards,
Trober___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list