textgen and generator in one language Follow
Hello forum!
I have a language with 2 root mapping rules (to xml) in the generator aspect. Then I defined a generator aspect, which outputes a CSharp source file. The problem is that this source file is never generated. So I've created this a language which holds a reference to the other language and outputs the text.
I read this thread here:
http://forum.jetbrains.com/thread/Meta-Programming-System-4960
So I'm asking if there's another solution or do I have to use this workaround?
Regards
msch95
I have a language with 2 root mapping rules (to xml) in the generator aspect. Then I defined a generator aspect, which outputes a CSharp source file. The problem is that this source file is never generated. So I've created this a language which holds a reference to the other language and outputs the text.
I read this thread here:
http://forum.jetbrains.com/thread/Meta-Programming-System-4960
So I'm asking if there's another solution or do I have to use this workaround?
Regards
msch95
Please sign in to leave a comment.
I've never tried the solution suggested in the thread you read. I use a different workaround (thx to Markus Völter) which includes two steps:
That's it.
Regards,
LaAck