C# generation

I have just started looking into the possibility of creating a DSL as an alternative to using a business-rules engine.   Most programmers in the department are using C#.

Although it seems possible to generate any language using MPS, it does not appear that C# generation is readily available.  Is this correct?

3 comments
Comment actions Permalink

Hi!

Although it seems possible to generate any language using MPS, it does not appear that C# generation is readily available.  Is this correct?

You are right - there is no ready to use C# support for MPS. For now you can either generate text from higher-level DSL constructions or spend some time on plugging C# AST into MPS.

0
Comment actions Permalink
Hi!
I'm also interested in generating C# using MPS. Well, this thread is a bit aged. Therefore:

1. Are there any news referring to the built-in code generation mechanisms for C#?
2. Otherwise: Is there any documentation describing how to implement a code gen for a custom language?

Thank you very much in advance,
LaAck
0

Please sign in to leave a comment.