Dear MPS hackers.
I developed my own DSL and it went really smooth and was so easy. I also managed to create my own generator, generating text output (via gtext) as input for a visualization tool.
Now I would like to have a second generator, generating different text output for another tool. I tried three different ways of doing so:
- I tried to create a second generator for my DSL1 which I didn`t manage to do (just doesn`t seem to be available).
- I tried adding the TextGen aspect, but text continues to be generated with the formerly created generator. The TextGen aspect seems to be ignored if a generator is available.
- I tried creating a second project with a second language extending my original DSL. Within this project I created a new generator for the extended DSL. But when generating text for my second DSL, the generator of my original language is used, the new generator seems to be ignored.
Is there another possibility to have two different text outputs generated from my DSL?
Glad to receive any hint. Thanks in advance.