Commit Graph

68 Commits

Author SHA1 Message Date
kodjo 95dc147bbd Improved PyhtonEvaluator in order to use methods that need context 2020-05-18 22:35:59 +02:00
kodjo c822ff6a7f Refactored services to inherit from BaseService 2020-05-18 09:43:05 +02:00
kodjo d080cbb05a Enhanced AtomNode parsing by name 2020-05-18 08:25:29 +02:00
kodjo 08e3086820 Added SheerkaComparisonManager 2020-05-17 20:19:26 +02:00
kodjo 56e0a9d338 Fixed minor issues and enhancements 2020-05-15 17:01:26 +02:00
kodjo 5489ef00b9 Fixed SyaNodeParser false positive recognition issue 2020-05-15 10:36:05 +02:00
kodjo 6e343ba996 Refactored Caching, Refactored BnfNodeParser, Introduced Sphinx 2020-05-12 17:21:10 +02:00
kodjo d6ea2461a8 First version of explain. Creating a new parser was a wrong approach. Need to reimplement 2020-04-17 17:24:57 +02:00
kodjo 6c7c529016 Added SyaNodeParser (finally, after one month) 2020-04-09 15:42:36 +02:00
kodjo c9acfa99a1 Fixed BNF parsing issues 2020-03-10 18:28:11 +01:00
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 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 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 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 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