24 Commits

Author SHA1 Message Date
kodjo 87cab44fb8 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()
2021-10-28 14:04:41 +02:00
kodjo 89e1f20975 Fixed #131 : Implement ExprToConditions
Fixed #130 : ArithmeticOperatorParser
Fixed #129 : python_wrapper : create_namespace
Fixed #128 : ExpressionParser: Cannot parse func(x) infixed concept 'xxx'
2021-10-13 16:06:57 +02:00
kodjo 7dcaa9c111 Fixed #29: Parsers: Implement parsing memoization
Fixed #77 : Parser: ShortTermMemoryParser should be called separately
Fixed #78 : Remove VariableNode usage
Fixed #79 : ConceptManager: Implement compile caching
Fixed #80 : SheerkaExecute : parsers_key is not correctly computed
Fixed #81 : ValidateConceptEvaluator : Validate concept's where and pre clauses right after the parsing
Fixed #82 : SheerkaIsAManager: isa() failed when the set as a body
Fixed #83 : ValidateConceptEvaluator : Support BNF and SYA Concepts
Fixed #84 : ExpressionParser: Implement the parser as a standard parser
Fixed #85 : Services: Give order to services
Fixed #86 : cannot manage smart_get_attr(the short, color)
2021-06-07 21:14:03 +02:00
kodjo 1059ce25c5 Fixed #68: Implement SheerkaQL
Fixed #70: SheerkaFilterManager : Pipe functions
Fixed #71: SheerkaFilterManager : filter_objects
Fixed #75: SheerkaMemory: Enhance memory() to use the filtering capabilities
Fixed #76: SheerkaEvaluateConcept: Concepts that modify the state of the system must not be evaluated during question
2021-04-26 19:13:47 +02:00
kodjo 6cda2686fb Fixed #48 : RelationalExpressionParser: Implement relational operator parser
Fixed #49 : ExpressionParser: Implement ExpressionParser
Fixed #50 : Implement ReteConditionExprVisitor
Fixed #51 : Implement PythonConditionExprVisitor
Fixed #52 : SheerkaConceptManager: I can get and set concept property
2021-03-23 11:35:10 +01:00
kodjo f8e47e2b38 Working on #51 : Working 2021-03-19 20:57:12 +01:00
kodjo 88c96ee9a8 Fixed #51 : I can compile simple recognize 2021-03-19 18:06:29 +01:00
kodjo 36e3ce0bcb Fixed #51 : Added unit tests 2021-03-19 10:38:38 +01:00
kodjo 6a8011ec12 Fixed #49 : working 2021-03-18 18:18:19 +01:00
kodjo e1a0b2f46e Fixed #49 : I can recognize concept 2021-03-18 16:43:00 +01:00
kodjo 36515aebb7 Fixed #49 : working 2021-03-18 11:49:48 +01:00
kodjo 27bc6c4ba1 Fixed #49 : ExpressionParser: Implement ExpressionParser 2021-03-15 19:41:06 +01:00
kodjo 42bc6abf97 Working on #50 : Adding unit tests 2021-03-12 14:14:17 +01:00
kodjo e303b32eb9 Working on #48 : Working 2021-03-11 16:13:55 +01:00
kodjo 05577012f3 Fixed #32 : concept groups are not correctly updated
Fixed #35 : Refactor test helper class (CNC, CC, CIO)
Fixed #36 : Concept values are not used when declared with variable expression
Fixed #37 : Objects in memory lose their values are restart
Fixed #38 : func(a=b, c) (which is not allowed) raise an exception
2021-03-05 11:16:19 +01:00
kodjo cac2dad17f Implemented some enhancement request and fixed some bugs
Fixed #2 : Variables are not recognized when inside a rule token
Fixed #15 : Rule: rete attributes are lost when a new ontology is created
Fixed #14 : ReteNetwork: Format rules must not be added to Rete network
Fixed #16 : DefConcept: Variables are not recognized when they are keyword arguments
Fixed #4 : Comparison are not correctly set when comparison property is a concept
Fixed #14 : Parser: merge FunctionParser.NamesNode and ExpressionParser.NamesNode
Fixed #18 : Parser: Add SourceCodeNode test to UnrecognizedNodeParser
Fixed #20 : At startup Number concept is saved in db a numerous number of time
Fixed #21 : CacheManager: I can remove all elements from a ListIfNeededCache and fill it again
Fixed #22 : CacheManager: I can remove all elements from a SetCache and fill it again
Fixed #23 : HistoryManager: history() no longer works
Fixed #24 : HistoryManager: history() no longer works after creating an exec rule
Fixed #25 : SheerkaMemory: Use MemoryObject instead of sheerka.local
Fixed #26 : Debugger: add the list all available services..
Fixed #27 : CONCEPTS_GRAMMARS_ENTRY does not seems to be in use any more
Fixed #28 : Give order to services
2021-02-12 15:15:31 +01:00
kodjo a2a8d5c5e5 Implemented a first and basic version of a Rete rule engine 2021-02-09 16:06:32 +01:00
kodjo 821dbed189 Fixed #3: Added sheerka.resolve_rule()
Fixed #5: Refactored SheerkaComparisonManager
Fixed #6: Sya parser no longer works after restart
2021-01-15 07:11:04 +01:00
kodjo e26c83a825 Implemented SheerkaOntology 2021-01-11 15:36:03 +01:00
kodjo 4b6e1dd55b Implemented ConceptManager with concept creation, modification and deletion 2020-12-08 15:36:21 +01:00
kodjo d364878ddb Fixed error when desc() returns multiple results 2020-12-04 17:37:06 +01:00
kodjo 8b86998225 First implementation of Debugger for SyaNodeParser 2020-12-03 21:50:48 +01:00
kodjo cac732bd93 First but not optimized version of AstFormatDict 2020-11-24 13:43:04 +01:00
kodjo 315f8ea09b Added first version of DebugManager. Implemented draft of the rule engine 2020-11-20 13:41:45 +01:00