Commit Graph
100 Commits
Author SHA1 Message Date
patrick 59dc239c67 Removed unused class. 2017-06-22 23:18:43 +02:00
patrick ec546758a8 Minor formatting. 2017-06-22 22:48:25 +02:00
patrick e93085d88a Moved color logging to separate library for reusing it in PDDL parser. 2017-06-22 20:58:31 +02:00
patrick 595891f040 Minor formatting. 2017-06-22 20:36:48 +02:00
patrick 12e55da662 Allowing “at” as a predicate name even though it is an expression identifier. 2017-06-21 23:00:07 +02:00
patrick 08c55adfbd Added test case covering missing variable names. 2017-06-21 16:55:56 +02:00
patrick ec8007125f Fixed segfault occurring with accidentally unnamed variables. 2017-06-21 16:48:43 +02:00
patrick 17985e3b5a Added note suggesting using the compatibility mode if errors occur. 2017-06-21 03:07:09 +02:00
patrick 002f875c53 Lowered default message logging priority to info. 2017-06-21 03:05:37 +02:00
patrick 39c0e27cb2 Refactoring of tokenizer and stream classes for better efficiency and maintainability. 2017-06-21 02:56:27 +02:00
patrick 97c6e58355 Minor refactoring in stream reading. 2017-06-20 18:13:49 +02:00
patrick 7162fa76f6 Updated change log with new compatibility parsing mode. 2017-06-20 03:27:06 +02:00
patrick f5a73f09f8 Added command-line option to enable the parser’s compatibility mode. 2017-06-20 03:23:19 +02:00
patrick ee56a105b3 Resizing file content one time if stream is seekable and dynamically otherwise. 2017-06-20 03:14:51 +02:00
patrick 19f2ad19b0 Fixed incorrect language detection with legacy “in-package” directives. 2017-06-20 03:01:20 +02:00
patrick 178a55d29e Added missing CMake option for testing PDDL parsing library to Travis configuration. 2017-06-20 02:11:15 +02:00
patrick ff782a8642 Updated change log with internal switch to PDDL parsing library. 2017-06-20 01:59:33 +02:00
patrick e345fd60fd Reimplemented plasp with PDDL parsing library. 2017-06-20 01:53:55 +02:00
patrick 9c7532bd9d Merge branch 'develop' of github.com:potassco/plasp into feature-plasp-with-pddlparse 2017-06-19 16:09:06 +02:00
patrick 9d906a195a Fixed incorrectly labeled badges in readme file. 2017-06-19 16:07:44 +02:00
patrick 2d44ca7955 Updated PDDL instance repository. 2017-06-19 15:55:58 +02:00
patrick 799c9ce2fb Replicated test cases for former issues in PDDL parsing library. 2017-06-19 01:15:20 +02:00
patrick c35faab104 Replicated syntax error tests in PDDL parsing library. 2017-06-19 01:09:55 +02:00
patrick ce812d449b Added exceptions for inconsistent use of typing. 2017-06-19 01:09:55 +02:00
patrick 17b8306394 Minor refactoring, as there is only one typing section. 2017-06-19 01:09:55 +02:00
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