<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
André Thieme wrote:
<blockquote cite="mid:4A8DA9F3.60208@justmail.de" type="cite">
<pre wrap="">Edson Tirelli schrieb:
</pre>
<blockquote type="cite">
<pre wrap=""> ooops... correct version:
when
Map( this["type"] == "Point", $x : this["x"] )
Map( this["type"] == "Circle", this["x"] == $x )
then
end
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
We default to MVEL, because it's simple and already contains everything
we need for expression evaluation. However it would definitely be
possible to implement this natively, effectively "emulating" MVEL -
although you need to think what this actual buys? It doesn't buy
indexing, as it's not MVEL that is the problem here.<br>
<br>
Mark<br>
<blockquote cite="mid:4A8DA9F3.60208@justmail.de" type="cite">
<pre wrap="">Okay, so in the mvel syntax this is possible.
Can this also be achieved in the default rule syntax, without mvel?
The mvel syntax needs to be interpreted at runtime, so my Clojure lib
will have to output rules in Drools' native rule language.
What interests me most is that first part:
Map( this["type"] == "Point", $x : this["x"] )
André
</pre>
</blockquote>
<br>
</body>
</html>