Hi, Tudor,
I've completely forgot to write that this is my master's project and I'm
doing it under a supervision of Nicolas Anquetil and Anne Etien
I want to extend the AST meta-model for other languages (java should be the
next one) and I'll add associations between already existing nodes like
Invocation and my AST nodes. I've started from Smalltalk because it seams to
have an easier structure. Also I think that it will be really interesting to
implement some convertors that can transform model of one language into the
other one. In the future this can be developed into powerful tool to convert
a source between the programing languages. Also we can make some "general
imperative languages meta-model" and convert into it models of another
languages to improve the ability to analyze the model itself. For example it
should be easier to work with the "if" statement nodes when with
ifTrue:IfFalse: message expressions.
On the other hand AST meta-models can be used to automatically analyze code
and find problems like
int i = 0;
if (i != 0) …
but right now I'm thinking of creating a fully functional meta-models and
then probably about conversions.
Regards.
Yuriy
--
View this message in context:
http://moose-dev.97923.n3.nabble.com/Development-of-FAMIX-AST-meta-model-ex…
Sent from the moose-dev mailing list archive at
Nabble.com.