How to generate two different files with strategy
I have write two rules to generate two different files,and combine them to a strategy,like:
but the rule “generate-b” had not be executed while the rule “generate-a” executedSubmitted on 15 March 2013 at 11:42
+operator is the non-deterministic choice operator. If one of the strategies succeeds, the other one is not executed.
If you want both strategies to be executed, use the
;operator which sequences strategies instead of choosing.
More information on strategy combinators can be found here: http://hydra.nixos.org/build/4325353/download/1/manual/chunk-chapter/stratego-strategy-combinators.html.
Also, if you have a question please use the Q&A part of Yellowgrass (click the Q&A button next to the Spoofax button).
Log in to post comments