fixed #18 : I can evaluate concept

This commit is contained in:
2023-06-01 22:08:34 +02:00
parent 09a0246420
commit 62391f786e
25 changed files with 1503 additions and 314 deletions
+9 -5
View File
@@ -1,8 +1,12 @@
class BuiltinConcepts:
SHEERKA = "__SHEERKA"
NEW_CONCEPT = "__NEW_CONCEPT"
UNKNOWN_CONCEPT = "__UNKNOWN_CONCEPT"
USER_INPUT = "__USER_INPUT"
PARSER_INPUT = "__PARSER_INPUT"
PYTHON_CODE = "__PYTHON_CODE"
NEW_CONCEPT = "__NEW_CONCEPT" # when the definition of a new concept is added
UNKNOWN_CONCEPT = "__UNKNOWN_CONCEPT" # Failed to find the requested concept
USER_INPUT = "__USER_INPUT" # user command
PARSER_INPUT = "__PARSER_INPUT" # command that will be parsed
PYTHON_CODE = "__PYTHON_CODE" # command that is parsed
INVALID_CONCEPT = "__INVALID_CONCEPT" # failed to parse concept attributes
EVALUATION_ERROR = "__EVALUATION_ERROR" # failed to evaluate concept