fabma

Avatar
  • Total activity 232
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 69
  • Created

    How to integrate text output files of external processes into MPS?

    I use a build facet to run the generated java classes from my language. This produces further text files in a sub directory of the classes_gen directory. This works ok so far. But there is no integ...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    Collect all concrete types of children in typesystem rule

    I've got a concept whose type should be the least common supertype of its children. I've already found the method leastCommonSupertypes in the SubtypingManager. The problem is that I can't collect ...
    • 2 followers
    • 9 comments
    • 0 votes
  • Created

    How to override inference rules

    I want to reuse an expression from base language but with an expanded typesystem. In detail the NotExpression should be usable with more types than boolean. So I created a new inference rule with t...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    MPS 3.0 replacement for a concept property

    During the migration to MPS 3 all concept properties have been replaced by static behavior methods. This is fine in many cases but not in all. If you want to save a state at runtime inside the prop...
    • 3 followers
    • 3 comments
    • 0 votes
  • Created

    What's the meaning of the Weave macro

    I've multiple times got the advise in this forum to use the Weave macro instead of weaving rules. This works fine so far, but I've never got a clear explanation of the semantic of this macro. And I...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    How generate Ant project files with MPS 3.0

    Since jetbrains.mps.buildlanguage seems to be removed in MPS I'm missing an easy way to generate Ant files. Of course I know that there is jetbrains.mps.build, but I don't know how use it to genera...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    MPS 3.0 migration restrictions

    Yesterday I was brave enough to have a closer look to MPS 3.0 and tried to migrate my language project. As exiting I was before as disappointed I am now. On two 64 bit Kubuntu systems with the open...
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    Sort children during generation

    I want to sort children during the generation flow. At the moment I'm using the sort method to create a new sorted sequence (sorted = parentNode.children.sort({...}, asc)). Afterwards I clear the o...
    • 2 followers
    • 5 comments
    • 0 votes
  • Created

    Open generated text files with highlighted editor inside MPS

    My generator ends up with some Java classes which will be loaded and executed after the compilation step. Due to this further text files are generated inside the source_gen directory. I've figured ...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    What is the application order of rules in generator templates?

    I've many time recognized that I haven't really understood the order MPS applies the rules of a template. That is why my generators now consists of many templates with sophisticated priorities. And...
    • 2 followers
    • 7 comments
    • 0 votes