Importing generated text back

Hi.

For example even if I built a simple editor for my favourite language like java, ruby or actionscript which generated valid program in this language, can  somehow import back into mps source code if it was edited by someone else for example?

0
3 comments
Avatar
Permanently deleted user

Hello, Valentin,

There's no such ability now and we don't have plans of implementing it. However, you can create a parser which will parse text into MPS model.

Regards,

Konstantin

0

Hi Konstantin,

does there exist any example on writing such a parser?

Regards,

Mirko

0
Avatar
Permanently deleted user

Hello, Mirko,

Kind of. If you download our sources, you can open ASMConverter class. This class converts .class files to their MPS baseLanguage's counterparts.

Regards,

Konstantin

0

Please sign in to leave a comment.