Commit Graph

115 Commits

Author SHA1 Message Date
kodjo a2bbd2eec2 I can also get concept by name 2020-03-10 15:05:03 +01:00
kodjo 1bde97b5e3 Concept validation must be requested 2020-03-09 12:23:53 +01:00
kodjo ef31a4807d Concepts bodies are now evaluated on demand 2020-02-27 10:48:45 +01:00
kodjo 7cd94e888f Added ModifyConcept function, and fixed 'isa' not working 2020-02-20 11:30:53 +01:00
kodjo 87f232b527 Logger is now an attribute of the execution context 2020-02-18 16:31:55 +01:00
kodjo 86c2ff58d4 Added set of set handling (thru concept ISA) 2020-02-17 21:07:06 +01:00
kodjo 7481b458e1 Added chicken and egg recursion detection 2020-02-06 17:50:14 +01:00
kodjo afc1e22949 Added basic implentation for where 2020-02-05 18:47:20 +01:00
kodjo a5a721094b Fixed concepts file 2020-01-31 23:20:56 +01:00
kodjo 9da0f35e86 Added default concepts in concepts init file 2020-01-31 20:24:36 +01:00
kodjo 78fc046f5a Fixed unit test 2020-01-31 20:13:17 +01:00
kodjo b9afcba61f Refactored ExecutionContext serialization (added sheerkapickle) and added History management 2020-01-31 18:58:03 +01:00
kodjo fed0735eb9 Added events history 2020-01-23 17:03:36 +01:00
kodjo 188e3c1ea2 Fixed SheerkaDump typo 2020-01-22 18:21:40 +01:00
kodjo c489a38ebc Refactored sheerka class: splitted to use sub handlers. Refactored unit tests to use classes. 2020-01-22 17:49:28 +01:00
kodjo 821614a6c4 We can now use concept sets in BNF definitions 2020-01-19 21:48:43 +01:00
kodjo a7b239c167 Refactored Concept class for better separation of metadata, compiled and values 2020-01-17 17:27:54 +01:00
kodjo 3789ef25d1 Renamed ConceptMatch into ConceptExpression and added unit tests 2020-01-15 19:44:32 +01:00
kodjo 8152f82c6b Added simple form of concept composition 2020-01-15 18:38:29 +01:00
kodjo 51fa9629d0 Refactored to use cached_asts in Concepts, rather than setting up a value directly 2020-01-12 10:28:44 +01:00
kodjo 73a6d4e6c2 Minor code enhancements 2020-01-11 16:03:30 +01:00
kodjo 40416ac337 Enhanced complex concepts handling 2020-01-11 08:03:35 +01:00
kodjo a62c1f0f13 Refactored parsers to introduce priority 2020-01-08 19:45:54 +01:00
kodjo b4346b5af0 Enhanced ExecutionContext to keep track of the execution flow 2020-01-07 15:47:43 +01:00
kodjo ffd98d7407 Fixed BNF concept evaluations 2020-01-03 19:19:57 +01:00
kodjo adcbc6bb2e Tokenizer exceptions are not catched 2019-12-31 18:28:04 +01:00
kodjo 197b0700fa Added keyword c:xxx: to express that we want the concept, not its body 2019-12-29 18:56:41 +01:00
kodjo 81b2355633 Fixed EvalEvaluator when there is nothing to evaluate 2019-12-27 14:43:36 +01:00
kodjo 21da87393f Enhanced sheerka.update_concept() logs 2019-12-27 11:33:16 +01:00
kodjo 26daae4acf ConceptLexerParser can how handle UnrecognizedTokens 2019-12-26 15:20:45 +01:00
kodjo bcb2308ea5 Fixed minor bugs 2019-12-24 17:14:28 +01:00
kodjo 44e4b75cf8 You must now use 'eval' to get the body of a concept 2019-12-24 16:58:09 +01:00
kodjo 5c90b07e1a Added mandatory evaluator steps 2019-12-22 19:51:17 +01:00
kodjo a683d4cd42 Added concept 'isa' other_concept functionality 2019-12-21 22:02:07 +01:00
kodjo 2474b08150 Updated sheerka.value() and added unit tests 2019-12-21 16:15:54 +01:00
kodjo 41e0885486 Refactored to use a single implementation for concept evaluation 2019-12-21 15:08:06 +01:00
kodjo b24b858b81 Console logs use stdout instead of stderr 2019-12-20 14:31:22 +01:00
kodjo 69f8c2835f Fixed initialisation issue for concepts with BNF definition 2019-12-20 12:25:15 +01:00
kodjo 5c95d918ad Refactored sheerka execution flow + Enhanced log management 2019-12-19 21:02:20 +01:00
kodjo 8dbe2e1b20 Added ZeroAndMore and OneAndMore to BNF. BNF expressions can now be captured 2019-12-18 12:03:29 +01:00
kodjo 88cd3162be I can define and eval BNF definitions 2019-12-17 21:19:44 +01:00
kodjo c668cc46d2 Added bnf when adding a new concept + Started logging filtering 2019-12-13 20:26:11 +01:00
kodjo 75c8793d53 Refactord Concept class to regroup all builtins properties into a ConceptMetadata class 2019-11-30 18:16:20 +01:00
kodjo 5e539a4b28 First steps of ConceptLexer. Need to update DefaultParser before continuing 2019-11-29 17:26:50 +01:00
kodjo 5d37addc7d Implemented dictionnary based file system to speed up the tests 2019-11-21 21:54:39 +01:00
kodjo 714f4f5dd0 Enhanced PythonEvaluator to accept concepts 2019-11-21 11:52:15 +01:00
kodjo cb6be9fec7 Added concepts with the same key handling 2019-11-18 17:02:02 +01:00
kodjo 7fa509555d Managing concept properties in ConceptEvaluator 2019-11-16 18:11:29 +01:00
kodjo 3a1dea19e8 Added empty string parser 2019-11-15 17:49:37 +01:00
kodjo 2fbda533f1 Added parsers and Evaluators auto discovery 2019-11-15 16:36:38 +01:00