Commit Graph

139 Commits

Author SHA1 Message Date
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 2761d8c26d Working on #48 : Fixed ExpressionParser.py 2021-03-12 10:20:43 +01:00
kodjo a49f8bed71 Working on #48 : Fixed first version of ExpressionParser.py 2021-03-12 09:42:38 +01:00
kodjo f32e14669a Working on #48 : Working on FunctionParser.py 2021-03-11 16:51:20 +01:00
kodjo e303b32eb9 Working on #48 : Working 2021-03-11 16:13:55 +01:00
kodjo 30c99b2d67 Working on #48 : Working 2021-03-11 15:28:24 +01:00
kodjo 8f51893f53 Working on #48 : Updating ExpressionParser.py 2021-03-11 11:50:23 +01:00
kodjo aa42bcb2ec Working on #48 : Refactored RelationalOperatorParser.py 2021-03-11 11:23:00 +01:00
kodjo 9c4991923e Working on #48 : Added BaseExprParser and BaseNodeParser.py 2021-03-10 21:09:09 +01:00
kodjo 998ea160be Working on #48 : Simple version of ExpressionParser 2021-03-10 15:58:05 +01:00
kodjo 966a1ed814 Working on #48 : Refactored FunctionParser, introducting ExpressionParser 2021-03-10 11:46:39 +01:00
kodjo 07f0d3670d Working on #48 : Working 2021-03-09 09:33:50 +01:00
kodjo a799ab2bbd Working on #48 : Renamed ExpressionParser.py into LogicalOperatorParser.py 2021-03-08 20:06:17 +01:00
kodjo 031bd0274e Fixed #43 : BnfNodeParser: I can recognize when multiple level of ISA
Fixed #44 : BnfNodeParser: I must simplify results when multiple levels of ISA
Fixed #45 : Dynamic variables cannot be parsed at restart
Fixed #46 : Concepts variables values are transformed into list by default
Fixed #47 : SheerkaAdmin. Add min, max, mean time when restoring files
2021-03-08 17:35:30 +01:00
kodjo bd8e027827 Fixed #41 : Implement concept 'and' 2021-03-06 19:12:22 +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 646c428edb Fixed #30 : Add variable support in BNF concept definition
Fixed #31 : Add regex support in BNF Concept
Fixed #33 : Do not memorize object during restore
2021-02-24 17:23:03 +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 e3c2adb533 Implemented some enhancement requests 2020-12-14 10:30:10 +01:00
kodjo 657c7536f7 I can manage infinite recursion when building concept 2020-12-10 21:08:10 +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 4f899280c4 Fixed bug when evaluating numbers several times 2020-11-27 11:01:02 +01:00
kodjo cac732bd93 First but not optimized version of AstFormatDict 2020-11-24 13:43:04 +01:00
kodjo ab30ab3345 Updated non reg test when setting attribute 2020-11-20 20:46:11 +01:00
kodjo bc747f89a1 I can set_attr 2020-11-20 20:14:53 +01:00
kodjo 0e945fe0fd Fixed variable recognition when it is a concept 2020-11-20 17:24:52 +01:00
kodjo 315f8ea09b Added first version of DebugManager. Implemented draft of the rule engine 2020-11-20 13:41:45 +01:00
kodjo e8f2705dcf Refactored Parsers. Introduced BaseCustomGrammarParser. Renamed DefaultParser into DefConceptParser 2020-10-02 04:45:47 +02:00
kodjo d100b7e8b3 Introduced ConceptsAlgebra 2020-09-27 20:28:50 +02:00
kodjo eeeed0f110 Fixed some misbehaviours regarding question() + added #import functionality when restoring 2020-09-23 20:08:15 +02:00
kodjo 9b965105e9 Hardened DefaultParser 2020-09-22 17:39:42 +02:00
kodjo 310c9ae839 You can use double quote when defining a concept name to protect keyword 2020-09-22 10:00:18 +02:00
kodjo dd520c1680 Fixed memory() and RET usage 2020-09-21 21:30:38 +02:00
kodjo 177a6b1d5f Implemented FunctionParser 2020-09-17 14:11:09 +02:00
kodjo 8a866880bc Added is_lesser and is_greatest in SheerkaComparison 2020-08-30 20:31:06 +02:00
kodjo 37cd3ed757 Fixed some bugs 2020-08-27 18:54:28 +02:00
kodjo 351c16f946 First implementation of questions management 2020-08-14 08:16:33 +02:00