Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EMF-IncQuery » Simple expression syntax
Simple expression syntax [message #1102390] Thu, 05 September 2013 18:11 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 853
Registered: July 2009
Senior Member
Hi all,
Would it be possible to define a simple query syntax that is a facade to the IncQuery query language?
I am thinking of something powerful and easy to express like XPath.
Or is there already something similar?
Re: Simple expression syntax [message #1102426 is a reply to message #1102390] Thu, 05 September 2013 18:57 Go to previous message
Zoltan Ujhelyi is currently offline Zoltan UjhelyiFriend
Messages: 373
Registered: July 2015
Senior Member

we have some yet unpublished experiments with connecting IncQuery runtime and OCL syntax, but we have nohing working yet (and OCL is somewhat heavy-weight for what you are describing). However, we have no current plans of creating something along this line. On the other hand, we are planning some better API at loading queries based on a textual form (but that is not yet ready).

In theory, nothing stops you from creating a generator from XPath to either the textual syntax of IncQuery, or the pattern model that is generated from it (beware that we make every effor to keep the textual syntax compatible with future releases, but we cannot promise the same with this internal EMF model). However, please note about our language there was a stated goal to have a readable, but expressive query language that can be effectively evaluated on an incremental engine (this last part comes with a lot of unexpected limitations).

On the other hand, can you show us something more concrete what are you missing or considering too complex in case of IncQuery? This way maybe something comes forth that is easy to implement but improves the usability.

Previous Topic:[Solved] [How to] : Expressing constraints on type or class
Next Topic:Parameterized queries
Goto Forum:

Current Time: Sun Aug 09 09:42:36 GMT 2020

Powered by FUDForum. Page generated in 0.01966 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top