Skip to content

Commit

Permalink
Merge pull request #753 from geekygirlsarah/main
Browse files Browse the repository at this point in the history
Fix "unknowns" in CLIPS
  • Loading branch information
geekygirlsarah authored Oct 5, 2024
2 parents b28e04b + 206e583 commit c6ec0f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
16 changes: 6 additions & 10 deletions web/thesauruses/_meta/rules_facts.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
"structure_name": "Rules and Facts"
},
"categories": {
"Defining Rules": {
"defining_rules": "Defining Rules"
"Rules": {
"defining_rules": "Defining Rules",
"undefining_rules": "Undefining Rules"
},
"Undefining Rules": {
"undefining_rules": "Undefining Rules"
},
"Asserting Facts": {
"assert": "Asserting Facts"
},
"Retracting Facts": {
"retract": "Retracting Facts"
"Facts": {
"asserting_facts": "Asserting Facts",
"retracting_facts": "Retracting Facts"
}
}
}
8 changes: 4 additions & 4 deletions web/thesauruses/clips/641/rules_facts.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"structure": "rules_facts"
},
"concepts": {
"defrule": {
"defining_rules": {
"code": [
"(defrule my-rule",
" (my-fact ?value)",
Expand All @@ -15,15 +15,15 @@
],
"name": "Creating a Defrule in the CLIPS environment"
},
"undefrule": {
"undefining_rules": {
"code": "(undefrule my-rule)",
"name": "Deleting a Defrule from the CLIPS environment"
},
"assert": {
"asserting_facts": {
"code": "(assert (my-fact foo))",
"name": "Assert Fact(s) into working memory"
},
"retract": {
"retracting_facts": {
"code": "(retract 1)",
"name": "Retract existing Fact in working memory"
}
Expand Down

0 comments on commit c6ec0f7

Please sign in to comment.