Commit Graph

55 Commits

Author SHA1 Message Date
36b8889a62
move knowledge base into the library 2023-02-16 22:58:20 -03:00
6ef6d14d18
restructure the link between the compiler and the library 2023-02-16 02:36:16 -03:00
841914bae8
print the version by accessing it directly 2023-02-16 02:27:24 -03:00
48955026c4
restructure library location 2023-02-16 02:26:14 -03:00
f6e93a1b67
add the obelisk library source 2023-02-16 01:16:57 -03:00
7b515f1f07
make it more obvious that name is used in the select 2023-02-16 00:44:32 -03:00
f7b62e4645
refactor select and insert methods to be less redundant 2023-02-16 00:40:43 -03:00
bc93f42c00
parse suggested actions 2023-02-16 00:35:29 -03:00
6062004f67
add missing comments to verb header 2023-02-16 00:34:45 -03:00
5a884fa2a0
make isTrue optional and default to false 2023-02-16 00:32:50 -03:00
3dcfdf23e8
remove old comments 2023-02-15 22:56:07 -03:00
ab83a1626b
fix fact db structure 2023-02-15 21:49:53 -03:00
92ec34a000
read obelisk source files and compile the knowledge base 2023-02-13 23:03:31 -03:00
e77fb73cd0
use kb passed in from args 2023-02-08 10:17:58 -03:00
4a7cf9ec2e
add command line options 2023-02-08 09:36:43 -03:00
ba7e0b1203
allow insertion of facts that haven't been proven true yet 2023-02-03 23:16:03 -03:00
1f2500a037
raise character limit to 120 2022-12-13 17:35:14 -03:00
74de3c67c0
refactor database exceptions 2022-12-10 21:11:39 -03:00
541ae2db28
add entity documentation 2022-12-10 18:29:21 -03:00
b908bdf89b
add missing class documentation and link manual to it 2022-12-10 18:23:39 -03:00
f810a25c0b
make lexer exceptions link to the lexer exception page of the manual 2022-12-10 18:23:04 -03:00
8dd82abb55
make the word action link to the action page of the manual 2022-12-10 18:17:32 -03:00
26a861772c
add action documentation 2022-12-10 18:13:01 -03:00
d6a7913993
add in and out docuementation to a few of the methods 2022-12-10 18:06:30 -03:00
991fe84c01
make sure the comments are split on 80 characters 2022-12-10 17:40:30 -03:00
bd5483e689
change some wording in the lexer documentation 2022-12-10 17:31:39 -03:00
7d9c8be36f
document the knowledge base 2022-12-10 16:26:30 -03:00
be67df0692
remove comments from implementation file 2022-12-10 16:21:04 -03:00
d805ce137f
add throws to lexer docs 2022-12-10 00:28:24 -03:00
102a182559
use capital L so that it creates a link to the class name in docs 2022-12-09 23:54:55 -03:00
768a0906d3
document the lexer 2022-12-09 23:41:54 -03:00
c5ff5479a5
document the obelisk namespace 2022-12-09 23:26:37 -03:00
cc080fbd45
remove sqlite log method from knowledge base 2022-12-09 21:13:18 -03:00
1f19837e40
handle errors in the parser and the main loop 2022-11-30 22:44:35 -03:00
e7222e3fb3
handle invalid double values in the lexer 2022-11-30 22:44:08 -03:00
4a6086aac5
add error handling in the model files and knowledge base 2022-11-29 00:06:35 -03:00
2ca55543ab
reset the last inserted id to 0 after it is saved 2022-11-28 00:02:24 -03:00
494080f303
get the insertion of facts working 2022-11-27 23:58:40 -03:00
3bc6ebe4d8
advancements on the fact generation 2022-11-26 00:32:06 -03:00
4ca7ff0ba6
add error handling to the parser 2022-11-22 11:34:07 -03:00
4788eeaa37
Merge branch 'develop' into feature/fact_knowledge_base 2022-11-21 21:27:28 -03:00
71156924c6 add IR code generation to the AST 2022-11-21 21:24:44 -03:00
6078437487
fix typo and extra method 2022-11-10 19:44:06 -03:00
9818cfade5
Merge branch 'develop' into parser
# Conflicts:
#	src/parser.cpp
2022-11-09 17:02:03 -03:00
18cd9c5933 Finished parsing facts 2022-11-09 16:49:58 -03:00
2d8f697f73 changes to parser 2022-11-08 22:27:26 -03:00
6c3ce55d5a
optimize the main driver and check for the new tokens 2022-11-04 11:20:34 -03:00
257df0fc99
optimize the parser code 2022-11-04 11:19:53 -03:00
6592f208d9
add new tokens for the lexer and optimize the code 2022-11-04 11:19:30 -03:00
e9a72ea203
verify that the connection is open before trying to close it 2022-11-03 15:36:08 -03:00