Post a Comment
It's one of those things you have to do a month of research to truely appreciate though. I always take these things with a grain of salt until someone says "oh, and here's this app I whipped up in ObjectiveCLIPS.. it's 40 lines of code and it does [amazing thing that usually takes thousands of lines of code]." Which, really, this guy should have done..
For anyone who is interested in a tool like this for Java, there's a great RETE rule engine called drools (http://drools.codehaus.org). You can specify semantics in embedded java, in grovvy and even create your own domain-specific language and use it. In the next version you will even be able to model rule systems with an Excel file.
<p>And CLIPS uses a LISP syntax. Apperently they wanted to emplement a production system in LISP, but because of the cost of really good LISP tools (Allegro is expensive, but very good!) and because of the difficulty of integrating LISP code with other languages, they decited to write the production system in C, but apperently they kept the LISP syntax.</p>
<p>I bet if they were implementing this today, they wouldn't have nearly as many problems, as many LISP environments have better support for integrating with other languages today than in the past.</p>
"Prolog isn't realy all that usefull for real world programming"
You really need to get out more often!
I work at a major airline reservation system, we use prolog build and search for flight availability and pricing thousands of times a second though a database consisting of millions of flights.
SOPE also includes a rule engine which is inspired by the WebObjects DirectToWeb rule engine. Might be interesting in the Cocoa context as well:
http://sope.opengroupware.org/en/docs/snippets/rulesystem.html



