Reference Java class in my language

Hi,
I am evaluating MPS to create a template engine (DSL) which need to reference to existing Java classes in a different Java project/module to provide code completion (something like http://jade-lang.com/). In XText (a framework to build DSL) seem to be possible to achieve that but I don't know if it is possible with MPS.
Input welcome!
Tinh
1 comment
Hi!

I suppose it is possible with MPS. You can add model elements referencing other model elements: either java (BaseLanguage) classes created in MPS or classes loaded by MPS from .class file.

Definitely it depends on detailed task you are trying to achieve, but from the provided explanation it looks like you can do it with MPS. :-)
0

Please sign in to leave a comment.