opennars / OpenNARS-for-Applications

General reasoning component for applications based on NARS theory.
https://cis.temple.edu/~pwang/NARS-Intro.html
MIT License
91 stars 40 forks source link

Update: add comments to generated code #152

Closed patham9 closed 2 years ago

patham9 commented 2 years ago

TODO: remove str and xstr macros definition, I didn't use them in the end

patham9 commented 2 years ago

Feature unnecessary since no one will look at RuleTable.c anyway, and even with comments it's not clear why the generated code part implements the rule without also commenting on the atom numbers which are checked for in order to check for premise structure.