Hi.
I don't know if I understand correctly, but FAMIX already has a Class and Package
nodes in it. Anyway I plan to extend the AST metamodel to support Java, so I think that
I'll encounter details that I've not yet thought about.
P.S. I've started to modify existing code and saved changes to the same repository
where AST metamodel is. I'm not quite sure if it's ok because the changes are
stored on my repository and all the previous versions on the other one. I have a hard
times finding some good Monticello workflows, so any suggestion is appreciated
Yuriy
12 груд. 2012 о 10:44 Stéphane Ducasse [via moose-dev]
<ml-node+s97923n4025872h77(a)n3.nabble.com> написав(ла):
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
If you reply to this email, your message will be added to the discussion below:
http://moose-dev.97923.n3.nabble.com/Development-of-FAMIX-AST-meta-model-ex…
To unsubscribe from Development of FAMIX AST meta-model extension, click here.
NAML