DSL Generation and Validation [message #813584] |
Mon, 05 March 2012 08:18  |
Eclipse User |
|
|
|
Hi!
I have a DSL where elements have indices which can be
* statically parametrized, like "element[1,3]" or
* dynamically parametrized, like "element[n]", where n is only known at runtime or when the whole DSL specification is available (only then the paramater can be resolved).
The DSL can be generated into a DSL with same grammar, for example if the parameter n is known (for example n==3), then "element[3]" will be generated out of "element[n]".
Now I want to split the validation of the DSL into two parts:
1. a part which can be validated statically
2. a part which can be validated after transformation
Is it possible to split the validation process in these two parts? If yes, how can I do it? So, after transformation I want to have a kind of "call-backs" to the original DSL model.
Thank you in advance!
Alex.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03178 seconds