macks

Avatar
  • Total activity 436
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 1 user
  • Votes 45
  • Subscriptions 132
  • 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
  • Created

    Add a new sandbox file

    Hello forum!I'd like to know if it's possible to create a new sandbox file derived from my own language L1 in the same sandbox model when some property gets set in another sandbox file derived from...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    Generate an MPS language from a xsd file

    Hello forum!I'd like to know if it's possible to achieve my issue. Any tips are appreciated! Thanks!Regards,msch95
    • 3 followers
    • 2 comments
    • 0 votes
  • Created

    Best practice: reading from xml and transforming data into MPS language

    Hey forum!I'd like to know what's the best approach for my issue.Note: I only need to filter out tags which match one name and it's subtags of my xml.Should I use the OpenAPI and/or are there some ...
    • 4 followers
    • 9 comments
    • 0 votes
  • Created

    reference failure

    Hello forum!I experienced a problem with the editor.My editor looks like this:(% ref1 % -> {inparameter}) . (% ref2 % -> {outparameter})Between the '.' and the two references I added the property p...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    bidrectional editing of a reference

    Hello again!To elaborate my question, I'd like to give a short example.My sandboxes looks like thisPersonRegisterref to firstnameref to lastnamePersonfirstname:Chucklastname:NorrisNow I'd like to b...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Set attribute on correct input of another attribute

    Hey!To elaborate my question, I'd like to give a short example.My sandbox looks like thisfirstname:Chucklastname:NorrisI have another attribute fullname. If the user inputs both names correctly, I ...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Collapse Control

    Hey forum!I'd like to know, how I can integrate such a control for the sandbox into my own language. If I could define a shortcut, it would be perfect.Regards,msch95
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    Multiple roots defined

    Hello forum!How can I access all three Items from the sandbox (shown in screenshot above) in the textgen aspect of my language named New Language?I need to have code, which looks quite similar to t...
    • 2 followers
    • 1 comment
    • 0 votes