fabma

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

    Working with Enumeration Datatypes

    I'm using Enumeration Datatypes in my language. But I haven't found a good way to work with them.If I define a property of an enumeration type, I just can access to it as a string. The is(< >) oper...
    • 2 followers
    • 5 comments
    • 0 votes
  • Created

    Add a Dotexpression like reference to language and combine it with BinaryOperations

    Hey,Sorry for spaming this forum, but I don't know any other way to comprehend the complexity of MPS.I reused the BinaryOperation expression of baselanguage in my own language and there are also re...
    • 3 followers
    • 9 comments
    • 0 votes
  • Created

    Insert statements from a weaving rule to a given position in a list

    Hey,I need a weaving rule to insert some statements in a statement list. But this new statements must be inserted previous to the current node. If I just take the block statement as context node th...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Add icons at the beginning of an editor line

    I've seen the override and implement icons in baselanguages editor and really would like to add something similar to my language. But I can't find any place to specify icons for the editor. Is this...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    How to add a new primitive type

    My language should contain primitive data types, which are not part of java, for example unsigned int or bit. I added some normal concepts which extends the baselanguage Type concept. But now I wan...
    • 4 followers
    • 10 comments
    • 0 votes
  • Created

    How to compare two concept variables

    Hey,Is there any way to compare to variables of type concept<>? I want to find out if one is a subconcept of the other one. As far as I see the isSubConceptOf method only allows concept declaration...
    • 2 followers
    • 3 comments
    • 0 votes
  • Created

    Hierarchy view for own DSL

    Is there any feature provided to build a hierarchy view editor for the DSL? My language has a similar structure as baselanguage, so it would be nice to reuse the class hierarchy view.
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    How to create a set of nodes with specified equals method

    Hey,I want to create a set of specified nodes in a behavior method. Since sets do not allow multiple equal elements there must be some equals check inside the add method. Different nodes with the s...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    Run generated classes as part of the generation process

    Is it somehow possible that the generated baselanguage classes are executed at the end of the generation process? I can start the main method with a run configuration, but since running these class...
    • 3 followers
    • 4 comments
    • 0 votes
  • Created

    How to perfom template based generation with input language equals output language

    Hey,In my language there are several statements, whose functionality can be performed by other statements. So I want to replace these statements with different others.Writing a reduction rule isn't...
    • 2 followers
    • 1 comment
    • 0 votes