Commit Graph
100 Commits
Author SHA1 Message Date
patrick df2359712f Removed unwanted debug output. 2017-06-19 01:09:55 +02:00
patrick de648fbb1d Fixed incorrect names of test cases. 2017-06-19 01:09:55 +02:00
patrick d0d141ef99 Replicated test cases with missing or mismatched domains in PDDL parsing library. 2017-06-19 01:09:50 +02:00
patrick 40b43217fc Replicated white space test case in new PDDL parsing library. 2017-06-19 00:35:31 +02:00
patrick c6c36273b5 Dropped support for GCC 5 due to unsupported conversion with optional types. 2017-06-19 00:29:55 +02:00
patrick 586e93190c Made plasp compatible to recent tokenizer changes. 2017-06-19 00:28:17 +02:00
patrick 9fe489de53 Added unit tests covering predicate signature matching. 2017-06-19 00:18:03 +02:00
patrick 60d8b9ba77 Fixed incorrect parsing order of type declarations. 2017-06-19 00:18:02 +02:00
patrick 1379c24362 Renamed test sections for clarity. 2017-06-19 00:18:02 +02:00
patrick bbf2a7d02d Allowing not declaring implicit “object” type without warning or error. 2017-06-19 00:18:02 +02:00
patrick 4c0583c91f Refactored tokenizer to lazily evaluate file locations. 2017-06-19 00:18:02 +02:00
patrick 04dffdb09e Fixed accidentally truncated ends of files after removing comments. 2017-06-19 00:18:02 +02:00
patrick dd7fb31309 Made CMake configuration consistent. 2017-06-19 00:18:02 +02:00
patrick 268fa84c9e Reimplemented tokenizer with plain streams. 2017-06-19 00:18:02 +02:00
patrick b9b987490b Fixed incorrect CMake option handling. 2017-06-19 00:18:02 +02:00
patrick 230844c3ae Fixed whitespace issue in typing sections and added test cases. 2017-06-19 00:18:02 +02:00
patrick 6ce4eecb18 Implemented predicate signature checks. 2017-06-19 00:18:02 +02:00
patrick e364d01cf4 Fixed issue in parsing typed objects in multiple iterations and added test case. 2017-06-19 00:18:02 +02:00
patrick 04ded5e8b8 Removed unnecessary include directive. 2017-06-19 00:18:02 +02:00
patrick 83a36003b1 Added test case covering complicated nested effects. 2017-06-19 00:18:01 +02:00
patrick fc48b8f694 Added test case covering typed objects. 2017-06-19 00:18:01 +02:00
patrick b0db73ab2f Added to-do. 2017-06-19 00:18:01 +02:00
patrick 195cffbf88 Fixed incorrectly determined parent types and added unit test. 2017-06-19 00:18:01 +02:00
patrick bfb382de52 Fixed incorrect constant types and added unit test. 2017-06-19 00:18:01 +02:00
patrick 101f33df6e Removed unused test file. 2017-06-19 00:18:01 +02:00
patrick 615167e7cd Implemented compatibility mode to support old instances. 2017-06-19 00:18:01 +02:00
patrick dde277cc3e Added to-do. 2017-06-19 00:18:01 +02:00
patrick 7ead2277e8 Prepared exceptions to have different types. 2017-06-19 00:18:01 +02:00
patrick da2a3eefa4 Added extensive test covering Blocksworld instance. 2017-06-19 00:18:01 +02:00
patrick 3877012274 Minor extension of unit test covering Blocksworld domain. 2017-06-19 00:18:01 +02:00
patrick e0aca18b38 Removed unnecessary directives in test case. 2017-06-19 00:18:01 +02:00
patrick 19c81effbe Added extensive test for Blocksworld domain. 2017-06-19 00:18:00 +02:00
patrick f83f9edbef Reimplemented goal parser. 2017-06-19 00:17:53 +02:00
patrick f90009b6d1 Reimplemented initial state parser. 2017-06-19 00:15:32 +02:00
patrick fbcb790611 Minor refactoring. 2017-06-19 00:15:27 +02:00
patrick 8c98548dbc Minor formatting. 2017-06-19 00:15:24 +02:00
patrick 20c687a787 Corrected exception types. 2017-06-19 00:15:14 +02:00
patrick d376c1a993 Allowing atomic formulas and not just predicates in preconditions and effects. 2017-06-19 00:15:11 +02:00
patrick 10e658a922 Added back support for parsing effects and even conditional effects. 2017-06-19 00:15:07 +02:00
patrick 9c30e27875 Fixed incorrect parsing method for “when” expressions. 2017-06-19 00:15:04 +02:00
patrick 14c498c539 Handling unsupported preferences in preconditions. 2017-06-19 00:15:00 +02:00
patrick f4c1d65365 Made warnings more concise and consistent. 2017-06-19 00:14:56 +02:00
patrick 34d9c7a1c2 Added warnings for currently under-construction sections. 2017-06-19 00:14:52 +02:00
patrick 0d3cb152f9 Finished precondition parsing. 2017-06-19 00:14:48 +02:00
patrick 63e15d37e8 Made precondition parsing more robust. 2017-06-19 00:14:45 +02:00
patrick 51249fd678 Refactored parsing variables, constants, and predicates. 2017-06-19 00:14:40 +02:00
patrick 0de5b9eb56 Added to-do. 2017-06-19 00:14:36 +02:00
patrick 8288345bcb Added missing method implementation to tokenizer. 2017-06-19 00:14:33 +02:00
patrick f349b5e351 Minor formatting. 2017-06-19 00:14:29 +02:00
patrick de69003105 Sectioning unit tests for meaningful error messages. 2017-06-19 00:14:25 +02:00
patrick c84cafda18 Fixed constant parsing if no problem is specified. 2017-06-19 00:14:18 +02:00
patrick 78b4636028 Continued working on reimplementing action parser. 2017-06-19 00:14:18 +02:00
patrick 9fbe0db567 Extended unit test on “either” types. 2017-06-19 00:14:05 +02:00
patrick 1876d1fe0b Fixed parsing of types. 2017-06-19 00:14:01 +02:00
patrick 30a092b365 Corrected scope of acceptance tests. 2017-06-19 00:13:56 +02:00
patrick 464550cb5b Renamed tests file. 2017-06-19 00:13:52 +02:00
patrick a6babf3e90 Reimplemented major parts of parsing preconditions. 2017-06-19 00:13:48 +02:00
patrick 62b9da844a Started reimplementing expression parsing. 2017-06-19 00:13:43 +02:00
patrick fa9fd0935b Made error message more precise. 2017-06-19 00:13:35 +02:00
patrick 1e77a6b043 Added “domain-axioms” as an ignored requirement to increase compatibility. 2017-06-19 00:13:29 +02:00
patrick 216decafc1 Allowing types to be undeclared for increased compatibility. 2017-06-19 00:13:24 +02:00
patrick 849faad134 Added compatibility check for unsupported “in-package” sections. 2017-06-19 00:13:18 +02:00
patrick 9642bab0c8 Enabled colored unit test results by default. 2017-06-19 00:13:13 +02:00
patrick 517698475c Added test cases for all competition domains (not all of them supported yet). 2017-06-19 00:13:03 +02:00
patrick 0b8da69394 Added official PDDL competition instances for automated testing. 2017-06-19 00:13:03 +02:00
patrick a7c4fdb242 Started reimplementing problem parser. 2017-06-19 00:12:51 +02:00
patrick 06b9632b70 Removed unused flags. 2017-05-18 15:55:20 +02:00
patrick 94dd209e5e Linking constants to their declarations by reference instead of pointer. 2017-05-17 20:21:34 +02:00
patrick 5d65cc3100 Added missing include directive. 2017-05-17 20:21:20 +02:00
patrick 2042d6329d Hiding implementation details in variant classes. 2017-05-17 20:09:07 +02:00
patrick ff1d582605 Removed unwanted copy constructor. 2017-05-17 20:00:01 +02:00
patrick b3fd49ef97 Removed duplicate entry from predicates. 2017-05-17 19:59:32 +02:00
patrick 8a103ea89d Added class for PDDL parser exceptions. 2017-05-17 15:29:51 +02:00
patrick 29f8ee0778 Added parsing utils to skip PDDL sections. 2017-05-17 15:28:58 +02:00
patrick 5f240b632a Added default constructors to AST structs. 2017-05-17 14:29:00 +02:00
patrick d711fcd0f1 Removed unneeded class. 2017-05-12 14:31:26 +02:00
patrick e312a91632 Renamed tokenizing module for clarity. 2017-05-12 14:17:57 +02:00
patrick c10187f6ba Minor refactoring to simplify parser classes. 2017-05-12 13:58:28 +02:00
patrick d7db0d8ccd Started implementing clean, separate PDDL syntax tree and parser. 2017-05-12 13:58:28 +02:00
patrick d2f9e55e68 Merge branch 'master' of github.com:potassco/plasp into develop 2017-05-09 15:12:19 +02:00
patrick ebcf263abd Removed unnecessary boost::filesystem dependency. 2017-05-09 15:11:35 +02:00
patrick 27c6b69874 Moved basic parsing to a separate module. 2017-05-09 15:05:59 +02:00
patrick 386e5356af Updated Catch. 2017-05-09 14:55:47 +02:00
patrick 88cb8f4516 Improved CMake structure. 2017-05-09 13:01:10 +02:00
patrick 9c9995380e Resolved compiler warnings with clang. 2017-05-09 13:00:44 +02:00
patrick 33e61beb4f Fixed bug related to decomposing quantified expression. 2016-12-08 02:59:20 +01:00
patrick 0b31d8d56c Fixed bugs related in decomposition of expressions. 2016-12-08 02:54:28 +01:00
patrick cb2db2cadf Removed unnecessary test file copies in CMake configuration. 2016-12-08 02:16:17 +01:00
patrick f1d2c4e532 Removed invalid to-do. 2016-12-08 01:58:36 +01:00
patrick a07d105906 Added missing include. 2016-12-08 01:44:36 +01:00
patrick 31182b6de9 Implemented translation of derived predicates in action preconditions. 2016-12-08 01:28:00 +01:00
patrick 586f53a788 Restructured functions related to translation of predicates. 2016-12-08 01:27:38 +01:00
patrick 1561aa5eb9 Put functions related to translation of predicates in separate file. 2016-12-08 01:18:00 +01:00
patrick f4672a5b50 Added -Wextra flag to notice warnings more easily. 2016-12-08 01:17:09 +01:00
patrick a5f1ebdc09 Removed unnecessary include directives. 2016-12-08 01:07:17 +01:00
patrick 8587aa23c4 Put functions related to translation of variables in separate file. 2016-12-08 01:05:39 +01:00
patrick 66cb09c8e4 Fixed incorrect auxiliary rule for derived predicates. 2016-12-08 00:54:13 +01:00
patrick 6355921e59 Implemented preconditions for derived predicates. 2016-12-08 00:52:09 +01:00
patrick 4172d320e4 Cleaned up output of translated derived predicates. 2016-12-07 23:26:46 +01:00
patrick a8ba375e36 Implemented printing body of derived predicate definition rules. 2016-12-07 02:58:25 +01:00