remykarem / decision-engine-lisp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decision engine

Representing rules of a decision engine symbolically, then evaluate.

(start 
    '("Have you learned this material before?"
        :y ("You from Singapore?"
            :y "Awesome!"
            :n "Come to Singapore then?")
        :n ("Are there equations on the screen?" 
            :y "1x" 
            :n ("Is the lecturer speaking quickly?"
                :y "1.25x"
                :n "1.5x"))))

Pet project, will delete later.

sbcl --load decision-if-else.lisp --quit

About


Languages

Language:Common Lisp 100.0%