Commit Graph
100 Commits
Author SHA1 Message Date
patrick 94b204615b Wrapped translated PDDL type definitions for usability in meta encodings. 2016-08-13 02:32:27 +02:00
patrick 230c6dfc15 Made order of sections of translated SAS more uniform with PDDL. 2016-08-13 02:29:48 +02:00
patrick 8be67e7065 Updated SAS meta encoding to recent changes of output format. 2016-08-13 01:49:00 +02:00
patrick 378b2ae673 Wrapped translated SAS axiom rule definitions for usability in meta encodings. 2016-08-13 01:44:45 +02:00
patrick 36e517bd80 Wrapped translated SAS mutex group definitions for usability in meta encodings. 2016-08-13 01:42:18 +02:00
patrick 569b3d0c97 Wrapped translated SAS action definitions for usability in meta encodings. 2016-08-13 01:40:31 +02:00
patrick daf68d24ab Added highlighting of variable names. 2016-08-13 01:39:49 +02:00
patrick 8a82f52100 Wrapped translated SAS variable definitions for usability in meta encodings. 2016-08-13 01:36:08 +02:00
patrick d0864b9efe Extended parser tests. 2016-08-08 12:40:02 +02:00
patrick 18bd606262 Extended parser tests. 2016-08-07 16:46:48 +02:00
patrick 252f50108b Removed unnecessary file. 2016-08-07 16:22:26 +02:00
patrick 015c34fc2b Minor refactoring. 2016-08-03 00:33:20 +02:00
patrick d7b47797df Made Stream members protected again. 2016-08-03 00:28:22 +02:00
patrick 544d4e0635 Major refactoring of underlying Parser class. 2016-08-02 20:33:49 +02:00
patrick 73c9d6c1f3 Checking that Parser initially is case-sensitive. 2016-06-22 09:14:01 +01:00
patrick d9578b6f1c Testing Parser position with seek and advance. 2016-06-22 09:07:19 +01:00
patrick b5e325cbee Testing Parser’s reset method. 2016-06-22 09:02:46 +01:00
patrick 234938349c Fixed incorrect seek positions. 2016-06-22 08:59:18 +01:00
patrick 9ed7277ec9 Fixed minor formatting issue with axiom rules. 2016-06-22 08:45:48 +01:00
patrick dc87c09442 Merge branch 'master' of github.com:potassco/plasp into develop 2016-06-15 00:57:01 +02:00
patrick 00688765fd Fixed typos in readme file. 2016-06-15 00:56:17 +02:00
patrick 3702b72feb Version bump after release 3.0.1. 2016-06-15 00:18:09 +02:00
patrick 9af383d2f6 Version bump for release 3.0.1. 2016-06-14 19:26:41 +02:00
patrick d3039d55e5 Fixed typo in PDDL translation output. 2016-06-14 19:21:27 +02:00
patrick 6b5c8df03a Fixed issues with color output. 2016-06-14 19:14:26 +02:00
patrick 8084fe5574 Merge branch 'develop' of github.com:potassco/plasp 2016-06-14 18:54:43 +02:00
patrick 3d661cd1f4 Fixed unescaped ASP identifier. 2016-06-14 18:53:50 +02:00
patrick 853d7471c2 Added error message when using command-line options incorrectly. 2016-06-14 18:47:02 +02:00
patrick 0a205680fe Made default color policy autodetection again. 2016-06-14 18:46:47 +02:00
patrick 52fee6a4c1 Made the language command-line option lowercase for consistency. 2016-06-14 18:42:29 +02:00
patrick fcdd3bba2b Added command-line options to readme file. 2016-06-14 18:40:40 +02:00
patrick b491efa9f4 Minor rephrasing. 2016-06-14 18:30:06 +02:00
patrick 401cf79cf6 Fixed incorrect usage information in help message. 2016-06-14 18:28:45 +02:00
patrick 44a20ca7e3 Updated usage information in the readme file. 2016-06-14 18:25:24 +02:00
patrick 5bda1c2245 Reordered change log items. 2016-06-14 18:08:32 +02:00
patrick eb3d91f085 Added command-line option to autodetect, enable, or disable color output. 2016-06-14 18:02:59 +02:00
patrick aff396d919 Colorizing numbers in translated SAS output. 2016-06-14 17:41:41 +02:00
patrick f7cd24b67a Colorized output for SAS translator. 2016-06-14 17:35:32 +02:00
patrick 1e21457efb Refactored color output of headings. 2016-06-14 17:11:45 +02:00
patrick 583ec78eef Removed deleted methods. 2016-06-14 17:06:07 +02:00
patrick 9969281b11 Refactored color output of variables and keywords. 2016-06-14 17:05:41 +02:00
patrick 6fec1cc409 Made all error and warning messages lowercase consistently. 2016-06-14 16:53:48 +02:00
patrick 2984da773d Fixed errors with gcc. 2016-06-14 16:47:11 +02:00
patrick 1b83708a6d Colorized PDDL translator output. 2016-06-14 16:38:41 +02:00
patrick 0de2489440 Using LogStreams in the PDDL translator. 2016-06-14 16:14:39 +02:00
patrick fd5416c94e Removed template from LogStream. 2016-06-14 16:09:47 +02:00
patrick 48137ec24d Fixed an issue with gcc 5. 2016-06-14 15:59:16 +02:00
patrick febef4bed4 Made output and error streams members of the logger. 2016-06-14 15:56:35 +02:00
patrick b599670572 Added LogStream class for uniform color output handling. 2016-06-14 15:53:53 +02:00
patrick 57e9de6b05 Renamed method to »logWarning.« 2016-06-14 15:12:45 +02:00
patrick 9679706a08 Removed ParserWarning class. 2016-06-14 15:09:39 +02:00
patrick 777c9839a1 Removed error message prefixes. 2016-06-14 15:06:43 +02:00
patrick a6c9434590 Fixed missing error message prefix. 2016-06-14 15:00:56 +02:00
patrick fd77b65226 Merge branch 'master' of github.com:potassco/plasp into colored-output 2016-06-14 14:59:23 +02:00
patrick a23063fd4f Minor formatting. 2016-06-14 14:22:41 +02:00
patrick a7cf696357 Minor formatting. 2016-06-14 14:18:38 +02:00
patrick 94d448d438 Minor formatting. 2016-06-14 14:05:38 +02:00
patrick c62f3f88f1 Handling untyped variables as variables of type »object« in PDDL translator for simplicity. 2016-06-14 13:53:09 +02:00
patrick 39a32a6e0a Handling untyped variables correctly in the PDDL translator. 2016-06-14 13:21:41 +02:00
patrick 342a346fce Started implementing colored output. 2016-06-14 12:47:39 +02:00
patrick e0dd9833a3 Made unsupported expressions a separate type for disambiguation to fix issues with unsupported features. 2016-06-14 01:31:22 +02:00
patrick 591d3fcafd Correctly terminate plasp with failure exit code when unhandled exceptions are caught. 2016-06-14 00:32:26 +02:00
patrick 22f294493e Removed bloated translation feature support checks and replaced them with inline ones. 2016-06-13 19:20:00 +02:00
patrick 5d3496fa41 Fixed missing assignment of member variable in At expression parser. 2016-06-13 19:19:17 +02:00
patrick 4b500e4bf6 Implemented At expressions. 2016-06-13 19:02:15 +02:00
patrick da85e5dd9b Checking whether variables have types before accessing them in the PDDL translator. 2016-06-13 16:37:35 +02:00
patrick 2b55d156ae Fixed performance issue caused by skipping over unsupported sections multiple times. 2016-06-13 16:17:55 +02:00
patrick f24491cd5a Updated help message with PDDL support. 2016-06-13 15:01:23 +02:00
patrick 268bee3c5f Updated change log with new command-line option --warning-level. 2016-06-13 14:46:30 +02:00
patrick 5c3ea28e48 Added command-line option for treating warnings as errors or completely ignoring them. 2016-06-13 14:45:31 +02:00
patrick fdbcb261df Avoiding empty arguments in n-ary expressions. 2016-06-13 14:04:12 +02:00
patrick 2c3481d027 Initializing PDDL problem description only if available. 2016-06-13 13:37:18 +02:00
patrick 1c2ad0ceec Updated change log with addition of basic PDDL translation. 2016-06-13 03:59:48 +02:00
patrick 7899d3e262 Added simple encoding for translated PDDL instances. 2016-06-13 03:48:04 +02:00
patrick 6b88cb7926 Renamed SAS → ASP encoding for clarity. 2016-06-13 03:32:58 +02:00
patrick 421125fee6 Escaping PDDL identifiers for use with ASP. 2016-06-13 03:31:41 +02:00
patrick 8563011939 Minor formatting. 2016-06-13 03:22:48 +02:00
patrick e07672ffe6 Added transitive deduction of object types to PDDL translation. 2016-06-13 03:22:19 +02:00
patrick 23f6f9b26b Added translation of a PDDL problem’s goal. 2016-06-13 03:19:24 +02:00
patrick e9c464b319 Added translation of a PDDL problem’s initial state. 2016-06-13 02:59:43 +02:00
patrick d3dc9101dd Added translation of objects in PDDL problems. 2016-06-13 02:48:16 +02:00
patrick e018cdbc91 Added translation of effects of PDDL actions. 2016-06-13 02:41:23 +02:00
patrick e2b8fd2880 Added translation for preconditions of PDDL actions. 2016-06-13 02:38:56 +02:00
patrick 680206b40b Removed Reference expressions. 2016-06-13 01:38:56 +02:00
patrick 1c8af793c2 Made PDDL action preconditions and effects optional. 2016-06-12 23:51:45 +02:00
patrick 46351b2fe7 Ensuring that input contains only predicates, negations, and conjunctions for the time being. 2016-06-12 23:38:44 +02:00
patrick 30cfa1b45e Fixes lambda issue with gcc. 2016-06-12 22:58:17 +02:00
patrick 0756d63769 Put translation of PDDL variable lists into separate method. 2016-06-12 22:55:35 +02:00
patrick 87ca54a253 Translating names of PDDL actions. 2016-06-12 22:47:39 +02:00
patrick 9c2f49e4a0 Put PDDL translation sections into separate methods. 2016-06-12 22:39:04 +02:00
patrick 49002ac52d Made output stream a member of the SAS translator for convenience. 2016-06-12 22:35:31 +02:00
patrick b70e62ff3b Made output stream a member of the PDDL translator for convenience. 2016-06-12 22:31:31 +02:00
patrick 046f803538 Implemented translation of PDDL predicates (with primitive types only). 2016-06-12 22:25:12 +02:00
patrick 639b7646c9 Making sure that PDDL predicates contain only primitive types for the time being. 2016-06-12 22:19:55 +02:00
patrick 89bb54a3ec Hiding translated PDDL sections if empty. 2016-06-12 22:19:24 +02:00
patrick 979d9509c1 Added function for escaping ASP variables. 2016-06-12 22:12:43 +02:00
patrick e9d48bcb7d Removing visitor pattern and replacing it with CRTP. 2016-06-12 22:12:09 +02:00
patrick 318bd8297c Disambiguation of parser and translation errors in plasp binary. 2016-06-12 22:09:47 +02:00
patrick 0513b3aa0c Implemented translation of PDDL domain constants. 2016-06-10 17:52:19 +02:00
patrick 458dbd723c Restructured translated PDDL type output. 2016-06-10 17:48:17 +02:00