Custom model persistence in MPS

  • 31
  • 10

Hello.

I've read in some old forum threads about the custom model persistence.

What the status of this feature?

This feature can allow to use MPS as an IDE for some DSL leaving the text documents primary. One of the major benefit of this approach is an ability to introduce MPS in the existing development process.
Hi, Alexey.
We certainly plan it in 3.0, if I have some free time, maybe I will make it work in 2.1
Regards,
Mihail

Oh, it's really good news! Is there an issue to vote and track for?
Is the persistence going to be absolutely custom or it will have some constraints (XML only or smth like this)?

Issue: http://youtrack.jetbrains.net/issue/MPS-9437
I see no point in limiting the persistence, so it should be absolutely custom, you just define the transformation SModel<->file

I've seen this issue before. My question about the constraints was founded on the issue text: "Use XSD to load structure...". So I though that you're going to support only XML based persistence.

It's another story, not a common constraint for all model formats.

Hello, Mihail.

I've just read that you are going to release the MPS 3.0 in couple of months. Please excuse my meddlesomeness.. will the custom persistence feature be included in this version?

Regards, Alexey

Hi, Alexey.

I'm working on it right now and think the working pre-version of this functionality will be available tomorrow )

Regards,
Mihail

P.S.: the forthcoming MPS will be versioned as 3.0, not 2.1 as we planned earlier. Just don't be confused with versions in the first post

Mihail,

it's really good news! I'll test it with great pleasure!:)

Regards, Alexey

Hello, Mihail!

How is it going? Is there any build to test the custom persistence feature?

Regards, Alexey

Alexey,

the feature officially will be available in MPS 3.0, which we plan to release in about a month.

If you want to try a pre-pre-release product, please contact me by mail: Mihail.Muhin@jetbrains.com

Regards,
Mihail