STRJ supports the implementation of strategies in Java. I used this feature to create a couple of strategies by extending the AbstractPrimitive class. I collect the primitives in a registry that extends AbstractStrategoOperatorRegistry.

How can I register the AbstractStrategoOperatorRegistry in a Spoofax project, so that my regular Stratego strategies can access them?

Asked by Sebastian Erdweg on 13 December 2013 at 14:56

Primitives and operator registries can only be registered by STRJ itself. You should implement your Java strategies by extending the Strategy class. See the instructions on the wiki.

Answered by Vlad Vergu on 13 December 2013 at 15:13