Commit Graph

73 Commits

Author SHA1 Message Date
Chris Cromer cc080fbd45
remove sqlite log method from knowledge base 2022-12-09 21:13:18 -03:00
Chris Cromer 1f19837e40
handle errors in the parser and the main loop 2022-11-30 22:44:35 -03:00
Chris Cromer e7222e3fb3
handle invalid double values in the lexer 2022-11-30 22:44:08 -03:00
Chris Cromer 4a6086aac5
add error handling in the model files and knowledge base 2022-11-29 00:06:35 -03:00
Chris Cromer 2ca55543ab
reset the last inserted id to 0 after it is saved 2022-11-28 00:02:24 -03:00
Chris Cromer 494080f303
get the insertion of facts working 2022-11-27 23:58:40 -03:00
Chris Cromer 3bc6ebe4d8
advancements on the fact generation 2022-11-26 00:32:06 -03:00
Chris Cromer 4ca7ff0ba6
add error handling to the parser 2022-11-22 11:34:07 -03:00
Chris Cromer 4788eeaa37
Merge branch 'develop' into feature/fact_knowledge_base 2022-11-21 21:27:28 -03:00
Chris Cromer 71156924c6 add IR code generation to the AST 2022-11-21 21:24:44 -03:00
Chris Cromer 6078437487
fix typo and extra method 2022-11-10 19:44:06 -03:00
Chris Cromer 9818cfade5
Merge branch 'develop' into parser
# Conflicts:
#	src/parser.cpp
2022-11-09 17:02:03 -03:00
Martin Araneda 18cd9c5933 Finished parsing facts 2022-11-09 16:49:58 -03:00
Martin Araneda 2d8f697f73 changes to parser 2022-11-08 22:27:26 -03:00
Chris Cromer 6c3ce55d5a
optimize the main driver and check for the new tokens 2022-11-04 11:20:34 -03:00
Chris Cromer 257df0fc99
optimize the parser code 2022-11-04 11:19:53 -03:00
Chris Cromer 6592f208d9
add new tokens for the lexer and optimize the code 2022-11-04 11:19:30 -03:00
Chris Cromer e9a72ea203
verify that the connection is open before trying to close it 2022-11-03 15:36:08 -03:00
Chris Cromer 31dca7e388
fix typo 2022-11-01 01:38:54 -03:00
Chris Cromer 2dc643ed39
handle unknown knowledge base errors 2022-11-01 01:17:45 -03:00
Chris Cromer 723c45fc3c
create the knowledge base structure 2022-11-01 01:04:41 -03:00
Chris Cromer 20192152d1
start working on the base of knowledge base 2022-10-25 17:08:36 -03:00
Chris Cromer 950efa945e
add lexer, parser, and ast tree 2022-10-17 22:26:36 -03:00