Excellent! :) Yuriy I will have a look at your AST model.
I do not know if you did that but what would be nice is to think about the SMalltalk AST model but adding Package, Class, Global nodes. The AST model used by the default smalltalk compiler just focuses on methods and it would be nice to have something more complete: like compilation Unit in other languages. This is something that I always wanted for Smalltalk.
Stef
On Nov 28, 2012, at 11:15 PM, Yuriy Tymchuk wrote:
Hi everyone! I'm extending FAMIX meta-model to add support for AST models. The project can be found at: http://smalltalkhub.com/#!/~YuriyTymchuk/Famix-AST
I'll be thankful for any suggestions an support :)
At the moment I've developed a hierarchy of the AST meta-model itself and you can load it from MSE files, as an example you can use this one: https://raw.github.com/Uko/metamodels-support-files/master/mse/ast.mse Please note that only middleOf:And: method has it's AST defined. To explore AST model you should select a method node and see statements as it's subnode. My next step is automatic creation of the AST model from existing source of the method.
Here is a diagram of a current Famix-AST class hierarchy: View this message in context: Development of FAMIX AST meta-model extension Sent from the moose-dev mailing list archive at Nabble.com. _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev