Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [incquery-dev] New Xtext - Xbase is becoming API

Hi all,

I have some good news, and bad news and some ugly...

The good: I managed to update the IncQuery language to work with Xtext 2.7. The updated API is nice, it is much easier to read and manage than the previous iteration. And I got rid of almost all non-API calls.

The ugly: it required a near-complete overhaul of the model inferrer. In other words, there is no way I am going to backport these changes to 0.8.1.

The bad: the Xcore integration extends XcoreBatchScopeProvider that got removed from the latest Xcore version. To tell the truth, I have no idea why was it used and how it should be updated to work with Xtext 2.7...

I created two Gerrit changes related to all this work. The first relates to a cleanup of our Type Provider implementation (basically, disconnecting it from Xtext API, and providing something other languages can also reuse); the second is the Xtext version update. The first is a prerequisite of the second because Xtext 2.7 also removed base classes we were using previously.

Type provider rewrite: https://git.eclipse.org/r/#/c/33019/
Xtext compatibility change: https://git.eclipse.org/r/#/c/33020/

There are some test failures related to these commits that I am trying to fix shortly; I am open to ideas about the Xcore integration...

Cheers,
Zoli
-- Zoltán Ujhelyi
https://www.inf.mit.bme.hu/en/members/ujhelyiz

Fault Tolerant Systems Research Group
Budapest University of Technology and Economics

On 2014.08.29., at 9:12, István Ráth <rath@xxxxxxxxxx> wrote:

> Good news!
> 
>> next week there will be a new Xtext release (2.7). There is a change that I hope will benefit us greatly in the long run: https://www.eclipse.org/Xtext/releasenotes.html#inferrer_api - the model inferrer API is becoming stable. I don't know, how much of Xbase is API now, but this is something I like very much to hear... I guess, the master (0.9) branch should require this new version as soon as possible. 
>> 
>> I will have a look what do we need to change for this new release (but I think, I will wait until the 2nd of September to do that). 
> thanks
> 
> 
> 
> -- 
> István Ráth
> Research Fellow
> Fault Tolerant Systems Research Group
> Budapest University of Technology and Economics
> http://inf.mit.bme.hu/en/members/rath
> rath@xxxxxxxxxx
> _______________________________________________
> incquery-dev mailing list
> incquery-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/incquery-dev



Back to the top