Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » b3 status
b3 status [message #611397] Wed, 30 June 2010 04:01
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
The last couple of days I have been doing a major revision of the b3
evaluator and type inference. I just checked in a first version of this.

One long outstanding issue was fixed in the process, while one still
remains (i.e. all tests except one are now green).

There will be one more big overhaul removing code that is no longer
used, and fixing issues with validation in the editor that reports false
negative errors.

The new implementation has broken out evaluation and type inference from
the model and can now be composed and injected using guice. This means
that it is possible to have different configuration for different
commands in the user interface for testing, debugging, or special
purpose stuff (such as debugging the engine itself).

For those really interested, look at the B3BuildEvaluator class, and its
superclass for how evaluation works, and B3BuildTypeProvider class for
type inference. Making good use of Xtext Polymorphic dispatching. Also
look at the DefaultB3Module where the build engine is configured using

Even if the implementation is a little rough around the edges (need a
refactoring session on packages :-/, as well as removing some ugly
constructs bridging between non guice injected code and the rest, as
well as some concerns related to evaluation and typing that remain in
the model), I am quite happy though as I think this is a decent start on
using type inference.

- henrik
Previous Topic:Issue installing b3 aggregator (headless) with director
Next Topic:Build Update Site
Goto Forum:

Current Time: Fri Sep 22 23:10:16 GMT 2023

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

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

Back to the top