Questions tagged [mps]

JetBrains MPS is a language workbench to create Domain Specific Languages (DSL).

With MPS you can design your own extensible DSLs and start using them right away to build end-user applications. The unique ability of the projectional editing technology is that it allows you to overcome the limits of language parsers, for building richer DSL editors with tables and diagrams. Still puzzled? Watch our video.

Useful Links:

108 questions
2
votes
1 answer

MPS run Model2Model transformation and TextGen from action

I am developing a plugin for Schedulability Analysis for mbeddr. In order to run an external tool, I want to transform the mbeddr-model to the external tool's model and use the Textgen aspect in order to create an input file for the external tool.…
Achim Stuy
  • 53
  • 8
2
votes
2 answers

How to use multiple concepts per text gen component in Jetbrains MPS 2017.1?

I created a simple DSL in JetBrains MPS for an automation task at hand. The DSL allows defining information objects which in turn shall be used for code generation. I am able to generate my models - but I am struggling to find a way to assign an…
Jan Wendland
  • 1,350
  • 9
  • 17
2
votes
1 answer

Using JetBrain's MPS to create an editor plugin

Can I use MPS to create a "conventional" language plugin for IntelliJ? It looks like MPS' core feature is the transcription from a DSL to Java. However I just want to define the DSL syntax and editor to ship it as a standalone language plugin via…
dnltsk
  • 1,037
  • 1
  • 8
  • 9
2
votes
1 answer

MPS - accessing sources in Idea as MPS models from MPS plugin?

Is it possible from MPS-enabled plugin in IDEA to access (for read/write) project's source code as baseLanguage (or whatever) source models? I want to be able to do refactorings to a source code in IDEA based on models in that MPS-enabled plugin.
Askar Kalykov
  • 2,553
  • 1
  • 22
  • 43
2
votes
1 answer

Is it possible to enrich the default mps text editor?

I have a xml file(abc.xml) which contains Hyper Links and i open that xml file inside MPS, currently MPS editor for xml/html/txt doesn't handle displaying hyper link, so my question is, is it possible to enrich the mps text editor?
Sanjit Kumar Mishra
  • 1,153
  • 13
  • 32
2
votes
1 answer

Implement Serializable in BaseLanguage Class

How can I implement Serializable in a class in BaseLanguage? What I did so far: Using MPS 3.3.4 Create new solution Project Add new Model Add module.JDK@project_stub as Dependency Add jetbrains.mps.baseLanguage as Used Language Add new…
Mene
  • 3,739
  • 21
  • 40
2
votes
3 answers

Errors when running Language-Solution in MPS

I'm developing an DSL with jetbrains MPS. It's not obvious to use, but I succeeded so far with the design-part. It's possible to right-click on a solutions node and "run" it, assuming the language is executable (extends executing.util). Plus I use a…
Erdbaerchen
  • 143
  • 7
2
votes
1 answer

Do I really need MPS when running multiple MPI ranks on a single GPU, or Kepler's Hyper-Q itself is enough?

Basically I would like to run multiple MPI ranks on a single GPU (NVidia K20c), and I am aware of the existence of MPS and Kepler's Hyper-Q. However, my question is, is Hyper-Q itself enough for my need? Or I have to use MPS? According to the above…
rsm
  • 103
  • 1
  • 6
1
vote
1 answer

Issues with Reading an Optimization Model from MPS Files and and Solving Using or-tools

I can successfully read the MPS file and solve it using Gurobi, which confirms the feasibility of the problem. But I'm striving to utilize or-tools, particularly the "PDLP" solver for specific reasons, and I'm encountering an infeasibility error…
Sia EA
  • 11
  • 2
1
vote
0 answers

Transform a DSL (proprietary SEEXML) to Java

Problem Currently we are running software from Seeburger company to transform e.g Edifact to iDoc. Therefore a lot of mapping files exist to describe this transformation in a proprietary language SEEXML. It has a file ending xml but it has just a…
timguy
  • 2,063
  • 2
  • 21
  • 40
1
vote
0 answers

Pytorch MPS: 'mps.scatter_nd' op invalid input tensor shape

I have set up my model for hyper parameter tuning using either nevergrad or optuna (both result in the same problem). The problem: After the first model has trained (i.e. first parameter search), then when the second is about to begin training, I…
mckris
  • 11
  • 1
1
vote
1 answer

GrammarCells not found by Standalone IDE build script

What’s the right way to add a third-party dependency to the build file? I’m trying to build a standalone IDE for a language that uses grammarcells as dependency, but I get an error saying that the dependency cannot be found during the build…
Humberto
  • 328
  • 3
  • 12
1
vote
2 answers

JetBrains Meta Programming System not working

Whenever I try to run the batch script to run MPS, it opens for a split second then immediately closes. Trying to run it via the command line gives me the following message: "Jetbrains/MPS was unexpected at this time." I posted the question also on…
Ghosty Frosty
  • 159
  • 2
  • 12
1
vote
2 answers

Can't figure out MPS error: "Child in the role X.Y does not belong to the concept X"

I'm new to MPS, so this may be a stupid question, but I can't find a solution anywhere. I'm defining two DSLs, where the first one is going to depend on the second. I've defined a portion of the first language and so far so good. I have a bunch of…
Noah
  • 47
  • 6
1
vote
1 answer

How to limit number of child nodes in parent node in JetBrains MPS

I have concept PytanieWielokrotnegoWyboru and I need it to contain min 1 and max 4 child OdpowiedzWielokrotna.
imerish
  • 11
  • 1