Okay...
It should now be possible to write rules with Java semantics. We
still don't have a convenient rules-file interface, but using the
API, you can create several types of Java FactExtractors.
There's a Darn Simple One, where you get an object, cast it, and do
whatever you want to with
Here's the plan:
Using the antlr-based java grammar for the basis of the java rules file.
But, once I've parsed and analyzed what I need, we'll actully pass all
execution over to beanshell (beanshell.org), so as to avoid having to
write an interpreter ourselves.
Following this method, I think
The bsf integration is going pretty smoothly.
We now have a BeanShellAction that runs your script (a String) through
BeanShell, letting actions be a run-time thing.
Looking like I can dedicate most of this week to drools, so hopefully
we'll have something stable and useful by week's end.
[[ cc:'d to the list ]]
I'm having problems trying to access to cvs, we are using a proxy that
almost never works :(
Hmmm... Then tarballs work best for you, right?
I'll see if I can't get nightly snapshots auto-building for ya. Might
be a few days, though.
James-- You have
Well kids, I'm unplugging for the night.
I think the Java Semantic Module is Done. I've included ease-of-use
features.
Tomorrow, I'll work on examples and end-user documentation (as opposed
to simply the nearly-complete JavaDocs).
Now's the time to start banging on it, and let me know what
For those of you doing side-by-side evaluations of rules engines, I've
added an example to the drools distribution the models the shopping-cart
in a fish-store example that ILOG uses in one of their whitepapers.
It's in CVS now, and will be available in a daily build tonight at
12:40am eastern
To a when block, you can now add a sub-element duration seconds=42/
which becomes a durational condition.
!-- If it's NEW for 10 minutes --
duration seconds=600/
Actually, there are several attributes you can use, in any combination:
duration seconds=ss
I hope that everyone had wonderful holiday and that work on Drools will
continue...
drools is paused, since I've no customers asking for modifications
at the moment. As soon as someone needs work done on it, I'll gear
back up.
Meanwhile, I'm knee-deep in genetic algorithms, if anyone has an
To be honest, no clue.
JESS still seems non-OO, to me, in that you're still writing
cambridge-prefix types of rules. It's interpreted, as
is the Java Semantic Module of drools, so it may be similar.
I do think JESS has highly optimized their Rete network,
though, so they may beat us.
Someone
I was just reading the Drool mailing list and came
across a posting on workflow. I was wondering if
anyone had started an effort on a workflow engine.
I think Jason van Zyl was originally planning on doing it, and I was
hoping to assist. As far as I know, thus far, nothing has been done.
In old-style (ie, traditional lisp/cambridge-prefix) rules engine,
that defines a rule that finds cousins.
The (defrule cousin starts the rule, and names it.
It's followed by 3 patterns that define what matches the rule.
The first two patterns are asserting a parent/child relationship:
I am interested in the use of Drools, and I have read the license in
CVS and it seems to be compatible for the use together with an LGPL API.
Am I right or have I not well interpreted the Drools' license?
I believe that the ASF/BSD license is compatible with the LGPL.
You may want to check
For those of you who aren't in the know...
Maven is Jason van Zyl's new Jakarta project that makes building projects
a lot easier and nicer.
Maven will end up making projects a lot more consistent in their build
and release methodologies, which is a Good Thing.
So, drools CVS source code may
Howdy folks--
drools has now been almost completely mavenized.
So, if you want to build drools these days, you'll need maven:
http://jakarta.apache.org/turbine/maven/
You'll also need ant installed globally on your machine, along
with junit in ${ant.home}/lib. No more build.pl
14 matches
Mail list logo