Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [incquery-dev] incquery-xcore integration proposal

Hi,

question: this solution would make the xcore file depend on the eiq file, and the eiq file depend on the xcore file (since it uses the metamodel extracted from xcore). Will this pose any problems e.g. in the builder phase?

Now, regarding the syntax. Instead of
  incquery-based-derived Book[] favoriteBooks spec library.favBooksOfWriter;
how about:
  derived Book[] favoriteBooks incquery-spec library.favBooksOfWriter;
I think this would look more consistent with fewer dashes. I hope the generator could handle this equally well (i.e. it is enough to notice that there is an incquery-spec element instead of the getter).

Also, if the pattern has @QueryBasedFeature, then the eiq generator can inject the derived feature into the generated EMF code, so there is no need to specify the name of the pattern again in xcore. The real added value would be the omission of the @QBF annotation, is that right? Or, eventually, if the derived feature pattern could be defined in-line in the xcore file... that would be awesome.

Cheers,
Gaben

-----incquery-dev-bounces@xxxxxxxxxxx ezt írta: -----
Címzett: Incquery developer discussions <incquery-dev@xxxxxxxxxxx>
Feladó: Ábel Hegedüs
Küldte: incquery-dev-bounces@xxxxxxxxxxx
Dátum: 2013/05/03 08:20de.
Tárgy: Re: [incquery-dev] incquery-xcore integration proposal

Hello,

seems fine to me, my only comment is that it is _not necessary_ to add the feature parameter to the query, if the name of the pattern matches the name of the feature.

Cheers,

   Ábel Hegedüs

Fault Tolerant Systems Research Group
Department of Measurement and Information Systems
Budapest University of Technology and Economics


On 3 May 2013 08:13, Istvan Rath <rath@xxxxxxxxxx> wrote:
Hi,

please find attached a language syntax proposal for the integration between Xcore and IncQuery. Your comments and suggestions are very welcome. The plan is that once we get to a consensus on this, we'll talk to Ed Merks about it and if everyone is OK with it, Tamas will implement it.

thanks
Istvan

--
Istvan RATH, PhD
Research fellow
Budapest University of Technology and Economics
Fault Tolerant Systems Research Group

_______________________________________________
incquery-dev mailing list
incquery-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/incquery-dev


_______________________________________________
incquery-dev mailing list
incquery-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/incquery-dev

Back to the top