Building scripting language using MPS?

I need to re-implement an existing scripting language used in a legacy application in my new application and was wondering if MPS could be used.

My main consern is if IDEA is required for runing an MPS editor or if it is possible to incorpotate it in say a Eclipse RCP-based GUI?

5 comments
Comment actions Permalink

Magnus,

MPS is a standalone application and it can be used without IDEA.

You can use it to write the code on your scripting language, and then use generated script files in your application (no matter what IDE you use for working with them - IDEA, Eclipse or any other). After writing your code in MPS and generating it, you'll have regular (text) source files written in your language.

Regards,

Mihail

0
Comment actions Permalink

Ok thanks for clarifying this for me - I sort of got the impression that the "editor" component generated for the language could be tied to IDE in one way or another.

I will play around with MPS and see if it seem to meet our needs!

0
Comment actions Permalink

Editor is tied to MPS, of course.

So, you write your scripting code inside of MPS, then click Generate. It produces some sort of lower-level code (for example, in Java) and you can do with this code whatever you with (e.g. run it from your application).

0
Comment actions Permalink

You said :

Editor is tied to MPS, of course.

Does that means that there is no a way to extract the code of the editor into a jar or classes in order to add the editor functionnalities to an own swing appliction for instance?

Thanks Thomas

0
Comment actions Permalink

Hykiukira,

Now there is no way of untying editor from MPS, because it depends on other subsystems of MPS (typesystem, behavior, constraints, ...).

Regards,

Mihail

0

Please sign in to leave a comment.