[Mono-list] My own language with mono?

Mono Trober monotrober at gmail.com
Fri Apr 17 22:19:02 EDT 2009


> 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" <bluehawk204 at hotmail.com>
To: <mono-list at 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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list 



More information about the Mono-list mailing list