Fixed #125: SheerkaErrorManager
Fixed #135: Change services service priorities Fixed #136: ErrorManager: Implement recognize_error Fixed #137: BNFNodeParser : Error when parsing regex with sub parsers Fixed #138: get_last_errors(): real errors sources are lost Fixed #139: OneError return value removes the origin of the error Fixed #140: Concept variables are not correctly handled when parsing sub expression Fixed #143: Implement has_unknown_concepts()
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
push_ontology("admin")
|
||||
def concept explain as get_results(id=0, depth=2) auto_eval True
|
||||
def concept explain last as get_last_results(id=0, depth=2) auto_eval True
|
||||
def concept explain last results as get_last_results(id=0, depth=2) auto_eval True
|
||||
def concept explain x as get_results(id=x, depth=3) auto_eval True
|
||||
def concept explain last errors as get_last_errors(level=0) auto_eval True
|
||||
def concept explain errors as get_errors(level=0) auto_eval True
|
||||
def concept explain error x as get_errors(id=x, depth=99) where isinstance(x, int) auto_eval True
|
||||
|
||||
def concept precedence a > precedence b as set_is_greater_than(__PRECEDENCE, a, b, 'Sya') auto_eval True
|
||||
|
||||
@@ -16,13 +20,15 @@ def concept debug off as set_debug(False) auto_eval True
|
||||
def concept activate debug on x as set_debug_var(x) auto_eval True
|
||||
def concept activate debug on x id=y as set_debug_var(x, y) auto_eval True
|
||||
def concept debug x as set_debug_var(x) auto_eval True
|
||||
def concept activate concept debug on x as set_debug_concept(x) auto_eval True
|
||||
|
||||
def concept debug var x as set_debug_var(x) auto_eval True
|
||||
def concept debug variable x as set_debug_var(variable=x) auto_eval True
|
||||
def concept debug method x as set_debug_var(method=x) auto_eval True
|
||||
def concept debug service x as set_debug_var(service=x) auto_eval True
|
||||
|
||||
def concept deactivate debug on x as debug_var(x, enabled=False) where x auto_eval True
|
||||
def concept deactivate debug on x as set_debug_var(x, enabled=False) where x auto_eval True
|
||||
def concept deactivate concept debug on x as set_debug_concept(x, enabled=False) auto_eval True
|
||||
|
||||
def concept activate return values processing as set_var("sheerka.enable_process_return_values", True) auto_eval True
|
||||
def concept deactivate return values processing as set_var("sheerka.enable_process_return_values", False) auto_eval True
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
push_ontology("english")
|
||||
def concept x is a string pre is_question() as isinstance(x, str)
|
||||
def concept x is a integer pre is_question() as isinstance(x, int)
|
||||
def concept x is an integer pre is_question() as isinstance(x, int)
|
||||
def concept x is an int pre is_question() as isinstance(x, int)
|
||||
def concept x starts with y pre is_question() where x is a string as x.startswith(y)
|
||||
def concept sha256 from bnf r'[a-f0-9]{64}'
|
||||
def concept sha512 from bnf r'[a-f0-9]{128}'
|
||||
|
||||
Reference in New Issue
Block a user