|Re: Simple expression syntax [message #1102426 is a reply to message #1102390]
||Thu, 05 September 2013 18:57
| Zoltan Ujhelyi
Registered: July 2009
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.
Powered by FUDForum
. Page generated in 0.01615 seconds