Leonardo, I did prototyped a Rete DSL editor with Xtext when I was developing the grammar for this. The reason in the end for me to drop it is that we need the parser running in core to execute the tests quickly during build and the parser generated by XText requires the addition of several dependencies (due to the instrumentation it does) that we don't want in core.
Since it is something that is of use for basically 3 people in the whole world (me, you and mark)... :) I did not wanted to spend more time figuring a way to either allow the parser to be "cleaned up" somehow for inclusion in core without the dependencies or a way to make a separate module that would be responsible for testing Rete. Of course, if someone wants to step up and do it, we would not oppose, but there are lots of other priorities in our plates already... :( Edson 2010/11/8 Mark Proctor <[email protected]>: > On 08/11/2010 10:33, Leonardo Gomes wrote: > > I've been using the Rete DSL a lot these days and was thinking that it could > be a good idea to provide some Eclipse infra-structure (syntax highlighting, > code completion, validation) to it using Xtext > (http://www.eclipse.org/Xtext/). It's built on top of antlr, so maybe we > could even reuse the grammar that we already have. I know that, by default, > you should right you grammar using their simplified version. > > sure could be intersting. > > I'd be careful about doing too much work, as I'm gonna need to see the > testing framework updated, so that it an unit test the new rete data > structures I have for collection oriented match. > > I'm also wondering if we might be better served using a type safe Scala > datastructure/dsl.... > > Mark > > Maybe the guys there would also be interested in providing something to > Drools. It could be a showcase for them. > > Not sure if this also applies to the Eclipse DRL things that we have. > > Cheers, > Leonardo. > > _______________________________________________ > rules-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-dev > > > _______________________________________________ > rules-dev mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-dev > > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com _______________________________________________ rules-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-dev
