ai.rules - jgrey4296/jgrey4296.github.io GitHub Wiki
- https://www.clipsrules.net/
- https://github.com/aleixpb2/AI_CLIPS
- https://github.com/gitonga123/CLIPS
- https://github.com/hsmfawaz/Chat-Bot-Using-python-and-ClIPS
- https://github.com/rohinikar/Expert-Systems-Programs
Version 6.30 on sourceforge has a command line executable Versions 6.40+ do not.
(assert (duck)) ;; Assert facts
(retract 2) ;; Retract fact with index 2
(defrule ..)
(run) ;; Run rule activations from the agenda
(save "filename") ;; Save the rules
(load "filename") ;; Load a rules file
(save-facts "filename")
(load-facts "filename")
(system "...") ;; Execute system commands
(facts) ;; List all assertions
(rules) ;; List all Rules
(agenda) ;; List potential rules to fire
(ppdefrule rule) ;; Pretty Print a rule definition
(clear) (reset) ;; Remove all Facts
(watch facts) (unwatch facts) ;; Print fact changes / turn off
(exit) ;; Quit CLIPS
facts instances slots rules activations messages message-handlers generic-functions methods deffunctions compilations statistics globals focus all
(defrule rule-name
" Rule Comment "
(animal-is duck) ;; Pattern
=>
(assert (sound-is quack)) ;; Action
)
(printout t "test" crlf) ;; Print to standard output ('t'), with line feed
- Homepage
- Docs
- http://docs.jboss.org/drools/release/6.3.0.Final/drools-docs/html_single/index.html
- http://www.jbug.jp/trans/jboss-rules3.0.2/ja/html/bk01-toc.html
- https://docs.drools.org/7.73.0.Final/drools-docs/html_single/index.html
- https://docs.jboss.org/drools/release/5.2.0.Final/drools-expert-docs/html/ch03.html