Commit Graph

51 Commits

Author SHA1 Message Date
Chris Cromer f6e93a1b67
add the obelisk library source 2023-02-16 01:16:57 -03:00
Chris Cromer 7b515f1f07
make it more obvious that name is used in the select 2023-02-16 00:44:32 -03:00
Chris Cromer f7b62e4645
refactor select and insert methods to be less redundant 2023-02-16 00:40:43 -03:00
Chris Cromer bc93f42c00
parse suggested actions 2023-02-16 00:35:29 -03:00
Chris Cromer 6062004f67
add missing comments to verb header 2023-02-16 00:34:45 -03:00
Chris Cromer 5a884fa2a0
make isTrue optional and default to false 2023-02-16 00:32:50 -03:00
Chris Cromer 3dcfdf23e8
remove old comments 2023-02-15 22:56:07 -03:00
Chris Cromer ab83a1626b
fix fact db structure 2023-02-15 21:49:53 -03:00
Chris Cromer 92ec34a000
read obelisk source files and compile the knowledge base 2023-02-13 23:03:31 -03:00
Chris Cromer e77fb73cd0
use kb passed in from args 2023-02-08 10:17:58 -03:00
Chris Cromer 4a7cf9ec2e
add command line options 2023-02-08 09:36:43 -03:00
Chris Cromer ba7e0b1203
allow insertion of facts that haven't been proven true yet 2023-02-03 23:16:03 -03:00
Chris Cromer 1f2500a037
raise character limit to 120 2022-12-13 17:35:14 -03:00
Chris Cromer 74de3c67c0
refactor database exceptions 2022-12-10 21:11:39 -03:00
Chris Cromer 541ae2db28
add entity documentation 2022-12-10 18:29:21 -03:00
Chris Cromer b908bdf89b
add missing class documentation and link manual to it 2022-12-10 18:23:39 -03:00
Chris Cromer f810a25c0b
make lexer exceptions link to the lexer exception page of the manual 2022-12-10 18:23:04 -03:00
Chris Cromer 8dd82abb55
make the word action link to the action page of the manual 2022-12-10 18:17:32 -03:00
Chris Cromer 26a861772c
add action documentation 2022-12-10 18:13:01 -03:00
Chris Cromer d6a7913993
add in and out docuementation to a few of the methods 2022-12-10 18:06:30 -03:00
Chris Cromer 991fe84c01
make sure the comments are split on 80 characters 2022-12-10 17:40:30 -03:00
Chris Cromer bd5483e689
change some wording in the lexer documentation 2022-12-10 17:31:39 -03:00
Chris Cromer 7d9c8be36f
document the knowledge base 2022-12-10 16:26:30 -03:00
Chris Cromer be67df0692
remove comments from implementation file 2022-12-10 16:21:04 -03:00
Chris Cromer d805ce137f
add throws to lexer docs 2022-12-10 00:28:24 -03:00
Chris Cromer 102a182559
use capital L so that it creates a link to the class name in docs 2022-12-09 23:54:55 -03:00
Chris Cromer 768a0906d3
document the lexer 2022-12-09 23:41:54 -03:00
Chris Cromer c5ff5479a5
document the obelisk namespace 2022-12-09 23:26:37 -03:00
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