Is it possible to use a different code generation mechanism?
|Answered by Mihail Muhin|
MPS generator is a sybsystem and a set of languages which are invoked by "generate" action.
1) write your own action and re-implement the whole process
2) write a "make facet" and develop a new step in the make process, which will do some additional thing on any resource that's produced during generation process(model, output file, resource file etc)
3) write a "pre/post-process generation script" which will make a custom AST transformation, which can't be performed with generator templates (e.g. extracting shared expressions)
4) write a custom textGen, which will write AST to a file in a custom format.
Just choose what you need ;)