|
From: Jendrik J. <jen...@tu...> - 2007-12-17 15:44:00
|
Hi, momentarily it is only possible to call composers by defining a language construct (i.e., a non-terminal in the grammar) for that purpose. If you want to call a composer inside a composer definition, you need to extende the composition language itself by introducing a new construct as composer minimalcl.Composer = MyComposer; MyComposer = arg1:NT1, arg2:NT2, ... ; For the concrete syntax it is the best to copy the one for the basic composition language (from bc.cs in "org.reuseware.fracola/models" in SVN) and add concrete syntax for your new composers. You can also remove concrete syntax for constructs you do not want to support in your "customized" composition language. cheers, Jendrik Andreas Leha wrote: > Hi there, > > here comes my next question: > Can I instanciate an already written composer in another composer? > > Or: > How can I instanciate... > > Thanks for your help, > > Andreas |