[HN Gopher] Tour of CLIPS (2022)
___________________________________________________________________
Tour of CLIPS (2022)
Author : ryjo
Score : 27 points
Date : 2024-04-29 17:58 UTC (1 days ago)
(HTM) web link (ryjo.codes)
(TXT) w3m dump (ryjo.codes)
| dang wrote:
| Related. Others?
|
| _A Simple TCP Server Written in Go and CLIPS_ -
| https://news.ycombinator.com/item?id=34187247 - Dec 2022 (1
| comment)
|
| _Show HN: Tour of CLIPS_ -
| https://news.ycombinator.com/item?id=33083169 - Oct 2022 (4
| comments)
|
| _CLIPS: A Tool for Building Expert Systems_ -
| https://news.ycombinator.com/item?id=19835214 - May 2019 (62
| comments)
|
| _Symbolic Integration Using CLIPS (1997)_ -
| https://news.ycombinator.com/item?id=15399391 - Oct 2017 (0
| comments, but interesting)
|
| _Build Node-JS expert systems with node-CLIPS_ -
| https://news.ycombinator.com/item?id=5424493 - March 2013 (1
| comment)
|
| Edit: since there has been so little discussion over the years,
| I've changed the top URL from
| https://ryjo.codes/articles/forgoing-implicity-using-the-alg...
| to an article (suggested by ryjo) that gives more of an intro and
| overview.
| ryjo wrote:
| Not to self-promote too much, but the main focus of my
| programming efforts is currently CLIPS. Over the past few
| years, I've written articles about and even made some fun
| projects with CLIPS:
|
| * Stop Writing In-app Caches and Start Writing Inherently
| Cached Apps with CLIPS -
| https://news.ycombinator.com/item?id=33342959
|
| * Conway's Game of Life Written in CLIPS -
| https://news.ycombinator.com/item?id=34428083
|
| * A* Algorithm Written in CLIPS -
| https://news.ycombinator.com/item?id=34340212
|
| * Run CLIPS in a C++ AWS Lambda -
| https://news.ycombinator.com/item?id=37322937
|
| * Write a Ruby C Extension to Use CLIPS from Ruby: Part 1 -
| https://news.ycombinator.com/item?id=35708717
|
| * Write a Ruby C Extension to Use CLIPS from Ruby: Part 2 -
| https://news.ycombinator.com/item?id=36461022
| jolt42 wrote:
| Is it possible to make a reasonable rules engine _in_ Ruby
| rather than a "bolt-on" (separate rules language files)? I
| think its interesting that its the LISP languages that
| spawned rules-engines, and as far as I've seen, the only
| language that can produce a reasonable rules engine as an API
| library.
| ryjo wrote:
| Is it possible: yes.
|
| Can you write your own home-grown rules engine in Ruby:
| yes.
|
| Can you use off-the-shelf gems: yes. Here's a few I poked
| around in my previous explorations into Ruby Rules Engines:
|
| * durable rules -
| https://github.com/jruizgit/rules?tab=readme-ov-file#ruby
|
| * wongi - https://github.com/ulfurinn/wongi-engine
|
| * rules - https://github.com/azach/rules
|
| * ruleby - https://github.com/Ruleby/ruleby
| - bonus: video of original ruleby author explaining rules
| engines: https://www.youtube.com/watch?v=qMh2RDL6aBM
|
| edit: It's also possible to write your own Ruby gem in C so
| that you can pass the handling of the RHS of your rules to
| a Ruby script.
| guidorice wrote:
| Big fan of CLIPS! Rule based expert systems are so ubiquitous in
| business and scientific codes, yet a lot of devs are not even
| familiar with pattern matching let alone powerful rules engines
| like CLIPS.
| ryjo wrote:
| This has been similar to my experience. Rules Engines like
| CLIPS are _just_ outside of the bounds of "cheap enough to
| spend time learning on the off-chance it _is_ indeed better
| than what we 've already written."
| sgt101 wrote:
| Here's a java implementation of rete that I worked on about 20
| years ago
| https://github.com/sgt101/zeus/tree/master/src/zeus/rete
|
| It might work!
| zokier wrote:
| There is also Drools, another major Rete based open source rule
| engine. It is based on Java so its bit easier to work with for
| non-specialized developers, although it also inherits many
| downsides from Java too
| stergios wrote:
| Considering the 4th edition of "Expert Systems: Principles and
| Programming" (The original book on CLIPS) is going for $300 at
| amazon, you are offering a good alternative.
|
| I worked with Gary Riley and Joe Giarratano at JSC in the mid 80s
| when CLIPS was in heavy development. Joe had the unique ability
| to teach very technical topics with a special brand of humor.
|
| Knowing CLIPs got me my first job in Silicon Valley / Los Altos
| in '88. Thanks Gary!
___________________________________________________________________
(page generated 2024-04-30 23:00 UTC)