Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Referencing generated code from other DSL files.
Referencing generated code from other DSL files. [message #870479] Tue, 08 May 2012 07:42
Eclipse UserFriend
Hi,

in my DSL it is possible to define functions within a module:
begin module m:

begin function func1:
  ...
end

begin function func2:
  ...
end

end


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?

Regards,
Felix
Previous Topic:XText integration with GMF
Next Topic:Copying a whole folder
Goto Forum:
  


Current Time: Thu Jul 03 15:16:50 EDT 2025

Powered by FUDForum. Page generated in 0.03132 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top