Hi,
On 16 Jun 2010, at 02:27, Ross Boylan wrote:
On Wed, 2010-06-16 at 02:17 +0200, Tudor Girba wrote:
>
> I do not know SAS, but you should check to see if the concepts
> present
> in FAMIX are of use to you. If yes, you can directly instantiate
> them
> from your parser. If not, then you will want to code a new
> meta-model,
> or extend the current ones to accommodate your needs. You can then
> describe this new meta-model using FM3 (this is achieved via
> Smalltalk
> pragmas) and you get a browser and import-export in the MSE format
> for
> free.
>
> Once you have your Smalltalk objects as instances of the meta-model,
> you can then use Mondrian and Glamour for building visual tools, or
> the MooseAlgos to express graph-specific algorithms.
>
> Does this help?
Well, I was hoping that I would need to specify the meta-model or the
meta-meta-model, but not both. That is, I was hoping the tools could
build one out of the other. It sounds as if you're telling me I
need to
do both.
You do not define the meta-meta-model, you use the existing one (FM3)
by just describing in your meta-model elements (classes and
attributes) using pragmas. That is, the meta-model holds the Smalltalk
implementation, while the pragmas provide a higher level description
for other kinds of manipulations.
I hope I'm misunderstanding :)
I think you are :)
Also, is there a guide to what the pragmas are?
We do not have much of a guide for the moment, but we have plenty of
examples. For a class named "C" with one attribute
"interestingAttribute" of type String, you have to define the
followings:
- On the class size:
annotation
<MSEClass: 'X'>
- On the instance side:
interestingAttribute
<MSEProperty: #interestingAttribute type: #String>
^ interestingAttribute
Cheers,
Doru
Ross
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot
be done."