[gme-users] Re: GME Pattern Processor

Aditya Agrawal Aditya at isis.vanderbilt.edu
Tue Jul 6 17:24:34 CDT 2004


> chapurla wrote:
> 
> > Dear Akos,
> > I was in contact with you for a little problem concerning GME
> > installation but it is now OK. However I am looking for any
information
> > and of course examples of use of the macro language allowing to
generate
> > files (in any textual format such as cogxml format as I intend to
do)
> > containing model specifications.
> > In particular, the lesson 7 of the tutorial do not show and details
> > about the specifications:
> >
> > /R:/ 	  	the children of this role,
> > /Parent/ 	the parent of this object if any,
> > /Type/ 	the basetype of this object if any,
> > /Ref/ 	the target of a reference object if any,
> > /Dst:<rolename>/ 	the destination peer(s) of all connections to
the
> > current object,
> > /Src:<rolename>/ 	the source peer(s) of all connections to the
> current
> > object.
> >
> > *$!EVAL_WITH( /<fieldspec>/, /<textarg>/ )*
> > Gets the single object identified by <fieldspec> and evaluates
<textarg>
> > in its context, then returns the result. See above the specification
of
> > <fieldspec>.
> >
> > *$!IFEMPTY( /<textarg1>/, /<textarg2>/ )*
> > If <textarg1> evaluates to an empty string, evaluates <textarg2> and
> > returns the result.
> >
> > *$!IFDEFAULT( /<textarg1>/, /<textarg2>/ )*
> > If <textarg1> does not have a default value, evaluates <textarg2>
and
> > returns the result.
> >
> > and so on... How to use it ? Could you please help as soon as
possible ?
> >
> > Thanks a lot and best regards
> > V.Chapurlat
> >

[Adi] 
My experience with this pattern processor has not been very good. There
is a new language for generating text files that is based on OCL and it
comes with a pattern processor that will create the output file. This
pattern processor was developed by Anantha for his master's thesis. I am
cc-ing him on the mail so that the two of you can get in touch.

If you still want to use the above mentioned pattern processor I can
send you a few example files I had developed some time ago.

Anantha,
Could you please provide more details on this to the mailing list and to
Chapurlat.

Thanks,
Adi


More information about the gme-users mailing list