ICodeLocationAware documentation
Hello, guys ! Where can i get documentation on subject ? Where can i get docs on other concepts and other stuff ? It seems there are official docs only on general principles etc. :-(
Please sign in to leave a comment.
PS: Yes this forum is read by the MPS team
Sorry if i ask general not mbeddr's specific questions.
The / operator is a downcast operator. Typically you write code on MPS' node API. There you get code completion for all elements which have been declared in the concept. In some cases you need however to go down to MPS underlying data structure. (E.g when you want to get access to the node's ID) In those cases you can use the / operator which will transform an node<...> into an SNode.
Hope that helps :-)
And one little itch.
Do you mean your own generator for unique identifiers, not generator in MPS sense ?
This is because we haven't fully used the interface ICodeLocationAware. This interface is supposed to store the original code location. So everywhere in the generator where we produce some kind of output we should actually pass the original code to the log statement. Because we introduced that interface not so long ago and haven't had the time yet to look through all of our generators (or just missed some statements) this bug exists. So it is not a general problem but just a matter of time.
May I ask what you are doing / planning to do with mbeddr?
BTW: If you have more questions regarding mbeddr you can contact us in our google group or me directly via bernd dot kolb at gmail dot com
do this just because i think MPS approach seems to be the future to me. And
i'm of cause a big fan of extensible programming (Still i can't say i'm
fully devoted to Language Oriented Programming in the Intentional Software
sense - though it also seems to be promising, and i'm not fully into
building small DSL for each problem).