I just thought of another feature that I want - persistence... Like saving the
rules into some file and loading them back again.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note th
thanks for your thoughts!
On 27/09/2013, at 12:45 PM, Ryan Brush wrote:
> Hey, I appreciate the thoughts. Funny how posting a project yields use cases
> you've never thought of. I went ahead and logged an issue to track arbitrary
> maps as facts here:
>
> https://github.com/rbrush/clara-rule
Hey, I appreciate the thoughts. Funny how posting a project yields use
cases you've never thought of. I went ahead and logged an issue to track
arbitrary maps as facts here:
https://github.com/rbrush/clara-rules/issues/6
I'm looking for ways to align with you needs, but I don't see an
immediat
Hi Ryan!
Thanks for your response. I would love to see maps and nested maps as part of
the rules. I find that clara provides great syntax for defining inputs and
outputs and I would love to use it as a rules engine just beneath my front end.
However, most of my work is web based, data is javas
Not yet, although I would like to make use of simple maps natural. I had
been toying with the idea of typing into the :type metadata that could be
attached to a map, allowing expressions like:
(defrule test-rule
[:example/person-map-type (= "Alice" (:first-name this))]
=>
(println "Hello,
Hi Ryan!
Great work. Can normal clojure maps can be used instead of records?
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be
Sounds great, Alan! I hope the significant refactoring of the rule
shredding and optimization I made last weekend didn't disrupt you too much.
The good news is I think the APIs structure of the code should be
reasonably stable now. I'm planning on attacking the accumulator logic next
-- it's k
+.010
Thanks for the update! I'm still working on mods for ClojureScript... I'll
send a pull request when I'm done.
Alan
On Monday, September 23, 2013 7:16:12 PM UTC-7, Ryan Brush wrote:
>
> This is the first release of Clara, forward-chaining rules in Clojure.
>
> Details on the github site:
+1
On Tue, Sep 24, 2013 at 9:00 PM, Mark Engelberg wrote:
> I used CLIPS (another forward-chaining rule system) for several years, and
> the way I tend to explain it to people is that it is the best tool for the
> job when your code would look like an enormous cond with thousands of
> cases, exe
I used CLIPS (another forward-chaining rule system) for several years, and
the way I tend to explain it to people is that it is the best tool for the
job when your code would look like an enormous cond with thousands of
cases, executed over and over, because:
1. The Rete algorithm can "jump to th
I appreciate the kind words!
You're right that the lines between forward- and backward-chaining systems
are blurry, with some systems incorporating ideas from both. Perhaps more
important than that is how easily we can express the logic for a given
problem. While it's possible to write, say, a
I see your point. By the way, the documentation is outstanding, especially
for first release. Great work!
On the other hand, I can't help but think that Rete algorithm looks like a
part of logic programming system. I understand that this is a corner case
(Prolog does a lot more than just scanni
Clara is a forward-chaining production system -- think Jess, Drools or
CLIPS (but in pure Clojure, of course.). Core.logic offers constraint-based
logic programming, more along the lines of Prolog and obviously with a
strong relationship to Kanren.
These approaches are complementary; which one
I'm curious how this relates to core.logic. If I understand correctly,
Clara can be compiled to core.logic and utilize it's search, doesn't it?
On Tuesday, September 24, 2013 6:16:12 AM UTC+4, Ryan Brush wrote:
>
> This is the first release of Clara, forward-chaining rules in Clojure.
>
> Detail
This is the first release of Clara, forward-chaining rules in Clojure.
Details on the github site:
https://github.com/rbrush/clara-rules
I've also posted the rationale for what I'm doing here:
http://www.toomuchcode.org/2013/09/rules-as-control-structure.html
The gist is that forward-chaining
15 matches
Mail list logo