|Referencing generated code from other DSL files. [message #870479]
||Tue, 08 May 2012 11:42
| Felix Feisst
Registered: February 2012
in my DSL it is possible to define functions within a module:
begin module m:
begin function func1:
begin function func2:
Such a module is compiled to JVM byte code (where each function becomes a method).
Now I implemented support for linking to other modules, so that a user of my DSL can use a function from one Module in another Module. However, when I generate the byte code I need to compile against the byte code from the referenced module.
Is there a suggested way to compile all available modules in background and hold the generated bytecode? And how can the compiled bytecode be referenced when compiling the current module?
Powered by FUDForum
. Page generated in 0.01377 seconds