Commit Graph

138 Commits

Author SHA1 Message Date
39c0e27cb2
Refactoring of tokenizer and stream classes for better efficiency and maintainability. 2017-06-21 02:56:27 +02:00
97c6e58355
Minor refactoring in stream reading. 2017-06-20 18:13:49 +02:00
ee56a105b3
Resizing file content one time if stream is seekable and dynamically otherwise. 2017-06-20 03:14:51 +02:00
799c9ce2fb
Replicated test cases for former issues in PDDL parsing library. 2017-06-19 01:15:20 +02:00
c35faab104
Replicated syntax error tests in PDDL parsing library. 2017-06-19 01:09:55 +02:00
ce812d449b
Added exceptions for inconsistent use of typing. 2017-06-19 01:09:55 +02:00
17b8306394
Minor refactoring, as there is only one typing section. 2017-06-19 01:09:55 +02:00
df2359712f
Removed unwanted debug output. 2017-06-19 01:09:55 +02:00
de648fbb1d
Fixed incorrect names of test cases. 2017-06-19 01:09:55 +02:00
d0d141ef99
Replicated test cases with missing or mismatched domains in PDDL parsing library. 2017-06-19 01:09:50 +02:00
40b43217fc
Replicated white space test case in new PDDL parsing library. 2017-06-19 00:35:31 +02:00
9fe489de53
Added unit tests covering predicate signature matching. 2017-06-19 00:18:03 +02:00
60d8b9ba77
Fixed incorrect parsing order of type declarations. 2017-06-19 00:18:02 +02:00
1379c24362
Renamed test sections for clarity. 2017-06-19 00:18:02 +02:00
bbf2a7d02d
Allowing not declaring implicit “object” type without warning or error. 2017-06-19 00:18:02 +02:00
4c0583c91f
Refactored tokenizer to lazily evaluate file locations. 2017-06-19 00:18:02 +02:00
04dffdb09e
Fixed accidentally truncated ends of files after removing comments. 2017-06-19 00:18:02 +02:00
dd7fb31309
Made CMake configuration consistent. 2017-06-19 00:18:02 +02:00
268fa84c9e
Reimplemented tokenizer with plain streams. 2017-06-19 00:18:02 +02:00
b9b987490b
Fixed incorrect CMake option handling. 2017-06-19 00:18:02 +02:00
230844c3ae
Fixed whitespace issue in typing sections and added test cases. 2017-06-19 00:18:02 +02:00
6ce4eecb18
Implemented predicate signature checks. 2017-06-19 00:18:02 +02:00
e364d01cf4
Fixed issue in parsing typed objects in multiple iterations and added test case. 2017-06-19 00:18:02 +02:00
04ded5e8b8
Removed unnecessary include directive. 2017-06-19 00:18:02 +02:00
83a36003b1
Added test case covering complicated nested effects. 2017-06-19 00:18:01 +02:00
fc48b8f694
Added test case covering typed objects. 2017-06-19 00:18:01 +02:00
b0db73ab2f
Added to-do. 2017-06-19 00:18:01 +02:00
195cffbf88
Fixed incorrectly determined parent types and added unit test. 2017-06-19 00:18:01 +02:00
bfb382de52
Fixed incorrect constant types and added unit test. 2017-06-19 00:18:01 +02:00
101f33df6e
Removed unused test file. 2017-06-19 00:18:01 +02:00
615167e7cd
Implemented compatibility mode to support old instances. 2017-06-19 00:18:01 +02:00
dde277cc3e
Added to-do. 2017-06-19 00:18:01 +02:00
7ead2277e8
Prepared exceptions to have different types. 2017-06-19 00:18:01 +02:00
da2a3eefa4
Added extensive test covering Blocksworld instance. 2017-06-19 00:18:01 +02:00
3877012274
Minor extension of unit test covering Blocksworld domain. 2017-06-19 00:18:01 +02:00
e0aca18b38
Removed unnecessary directives in test case. 2017-06-19 00:18:01 +02:00
19c81effbe
Added extensive test for Blocksworld domain. 2017-06-19 00:18:00 +02:00
f83f9edbef
Reimplemented goal parser. 2017-06-19 00:17:53 +02:00
f90009b6d1
Reimplemented initial state parser. 2017-06-19 00:15:32 +02:00
fbcb790611
Minor refactoring. 2017-06-19 00:15:27 +02:00
8c98548dbc
Minor formatting. 2017-06-19 00:15:24 +02:00
20c687a787
Corrected exception types. 2017-06-19 00:15:14 +02:00
d376c1a993
Allowing atomic formulas and not just predicates in preconditions and effects. 2017-06-19 00:15:11 +02:00
10e658a922
Added back support for parsing effects and even conditional effects. 2017-06-19 00:15:07 +02:00
9c30e27875
Fixed incorrect parsing method for “when” expressions. 2017-06-19 00:15:04 +02:00
14c498c539
Handling unsupported preferences in preconditions. 2017-06-19 00:15:00 +02:00
f4c1d65365
Made warnings more concise and consistent. 2017-06-19 00:14:56 +02:00
34d9c7a1c2
Added warnings for currently under-construction sections. 2017-06-19 00:14:52 +02:00
0d3cb152f9
Finished precondition parsing. 2017-06-19 00:14:48 +02:00
63e15d37e8
Made precondition parsing more robust. 2017-06-19 00:14:45 +02:00
51249fd678
Refactored parsing variables, constants, and predicates. 2017-06-19 00:14:40 +02:00
0de5b9eb56
Added to-do. 2017-06-19 00:14:36 +02:00
8288345bcb
Added missing method implementation to tokenizer. 2017-06-19 00:14:33 +02:00
f349b5e351
Minor formatting. 2017-06-19 00:14:29 +02:00
de69003105
Sectioning unit tests for meaningful error messages. 2017-06-19 00:14:25 +02:00
c84cafda18
Fixed constant parsing if no problem is specified. 2017-06-19 00:14:18 +02:00
78b4636028
Continued working on reimplementing action parser. 2017-06-19 00:14:18 +02:00
9fbe0db567
Extended unit test on “either” types. 2017-06-19 00:14:05 +02:00
1876d1fe0b
Fixed parsing of types. 2017-06-19 00:14:01 +02:00
30a092b365
Corrected scope of acceptance tests. 2017-06-19 00:13:56 +02:00
464550cb5b
Renamed tests file. 2017-06-19 00:13:52 +02:00
a6babf3e90
Reimplemented major parts of parsing preconditions. 2017-06-19 00:13:48 +02:00
62b9da844a
Started reimplementing expression parsing. 2017-06-19 00:13:43 +02:00
fa9fd0935b
Made error message more precise. 2017-06-19 00:13:35 +02:00
1e77a6b043
Added “domain-axioms” as an ignored requirement to increase compatibility. 2017-06-19 00:13:29 +02:00
216decafc1
Allowing types to be undeclared for increased compatibility. 2017-06-19 00:13:24 +02:00
849faad134
Added compatibility check for unsupported “in-package” sections. 2017-06-19 00:13:18 +02:00
9642bab0c8
Enabled colored unit test results by default. 2017-06-19 00:13:13 +02:00
517698475c
Added test cases for all competition domains (not all of them supported yet). 2017-06-19 00:13:03 +02:00
0b8da69394
Added official PDDL competition instances for automated testing. 2017-06-19 00:13:03 +02:00
a7c4fdb242
Started reimplementing problem parser. 2017-06-19 00:12:51 +02:00
06b9632b70
Removed unused flags. 2017-05-18 15:55:20 +02:00
94dd209e5e
Linking constants to their declarations by reference instead of pointer. 2017-05-17 20:21:34 +02:00
5d65cc3100
Added missing include directive. 2017-05-17 20:21:20 +02:00
2042d6329d
Hiding implementation details in variant classes. 2017-05-17 20:09:07 +02:00
ff1d582605
Removed unwanted copy constructor. 2017-05-17 20:00:01 +02:00
b3fd49ef97
Removed duplicate entry from predicates. 2017-05-17 19:59:32 +02:00
8a103ea89d
Added class for PDDL parser exceptions. 2017-05-17 15:29:51 +02:00
29f8ee0778
Added parsing utils to skip PDDL sections. 2017-05-17 15:28:58 +02:00
5f240b632a
Added default constructors to AST structs. 2017-05-17 14:29:00 +02:00
d711fcd0f1
Removed unneeded class. 2017-05-12 14:31:26 +02:00
e312a91632
Renamed tokenizing module for clarity. 2017-05-12 14:17:57 +02:00
c10187f6ba
Minor refactoring to simplify parser classes. 2017-05-12 13:58:28 +02:00
d7db0d8ccd
Started implementing clean, separate PDDL syntax tree and parser. 2017-05-12 13:58:28 +02:00
27c6b69874
Moved basic parsing to a separate module. 2017-05-09 15:05:59 +02:00
386e5356af
Updated Catch. 2017-05-09 14:55:47 +02:00
eb4798df4e
Updated catch. 2016-12-05 02:17:11 +01:00
ba63a9fb05
Moved Catch to lib directory. 2016-11-12 18:24:09 +01:00