I am working on a DSL for using side-by-side with production code. The user can define an instance of concept A, which gets translated into variable a with type A'. This variable a must be used in user's code.
So my problem is: How may I let the user define a function from it's personal code base (dependencies are fine), so that i can set the function's actual parameters in the generator?
A' is only known to the generator (due to different target platforms), so there should be no dependencies for A' in other modules. The User's production code is obviously totally unknown to the DSL.
WindowedWordCount.createPipeline(null); // -> should be generated into