macks

Avatar
  • Total activity 436
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 1 user
  • Votes 45
  • Subscriptions 132
  • Edited

    if else construct in MPS Jetbrains

    Hello forum! In my DSL I'd like to introduce an if-else construct   if (<condition>) { } else { }   Now if and else are separate concepts. I've tried a way that else only can be applied in my DSL, ...
    • 3 followers
    • 4 comments
    • 0 votes
  • Edited

    Surround with Region feature in MPS

    Hello forum!   I want to build a feature called "Surround with Region". It's available in Visual Studio. Have a look here http://i.stack.imgur.com/8wdh8.png Recently I've seen this feature with MPS...
    • 5 followers
    • 10 comments
    • 0 votes
  • Created

    Actions when children were added

    I want to add a new line and modify an attribute when a new children was added in the MPS editor. How can I accomplish that?Regardsmsch95
    • 6 followers
    • 9 comments
    • 0 votes
  • Created

    ConnectException when Debugging/Running

    Hey!When Debugging or Running an MPS project, I get the following error message:java.net.ConnectException: Connection refused: connectI've configured my project as it's shown here:https://confluenc...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    reference to a list of elements

    Hello forum!I'm referencing in concept A to a list of elements in another concept B (children 0..n) in the editor.The reference has read and write enabled. When I want to add a new element in the r...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Compare MPS nodes<>

    Is there a possibility to make custom compares to MPS nodes<> ? In Java I would overwrite the equals() method..This is a good use case: sequence<node<MyConcept>> seq = MyConcept_nlist.ofType<node<M...
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    MPS languages compiled with JDK earlier than 1.8

    Hello forum!Is there a possibility to build a constructor for concepts, so that I can write something like this: node<MyConcept> myNode = new node<MyConcept>(param1, param2...); I couldn't find any...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    porting a MPS installation to colleges

    Hey forum!I have a use case where I need to copy my complete MPS+mbeddr installation including plugins from my PC to the PC of my colleges, so that they don't have to install the same over and over...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    add a new file in the sandbox in language generation aspect

    Hello foroum!I tried to add a new file to my sandbox when clicking on build sandbox model.following code model.add root(mynode) Unfortunately, no new file appears in the sandbox.Can someone pls poi...
    • 2 followers
    • 4 comments
    • 0 votes
  • Created

    using JAXB to bind XML to MPS model

    Hello forum!I recently looked at JAXB, a framework for binding xml to a Java object model. (nice framework btw)https://jaxb.java.net/So I thought it would be nice to use that for MPS models as well...
    • 1 follower
    • 0 comments
    • 0 votes