Commit Graph
100 Commits
Author SHA1 Message Date
patrick addc65e3c5 Update Catch to 2.2.1 2018-03-21 16:35:54 +01:00
patrick 427e5705c7 Fixed order of CMake options. 2017-06-20 02:05:12 +02:00
patrick bda57b2fe7 Fixed incorrect handling of CMake options. 2017-06-18 15:04:45 +02:00
patrick b7cd875f0e Updated Catch. 2017-06-15 15:27:51 +02:00
patrick be19a5f66b Version bump after release 0.1.6. 2017-06-13 00:14:16 +02:00
patrick 675a3e2eb7 Version bump for release 0.1.6. 2017-06-12 18:38:36 +02:00
patrick 4f399a594a Updated change log with new examples for experimenting. 2017-06-12 18:35:06 +02:00
patrick 5f8c144628 Fixed regression in simplifying predicates with more than one argument. 2017-06-12 18:27:39 +02:00
patrick 64c9a741c4 Added example with simple propositions. 2017-06-12 15:42:23 +02:00
patrick 1f1006ea96 Corrected hiding predicates that are simple propositions. 2017-06-12 15:40:02 +02:00
patrick 7665cb7bf1 Added unit test for the completion of predicates with nested arguments. 2017-06-12 15:32:05 +02:00
patrick d7641aa410 Added example with nested predicate arguments. 2017-06-12 03:05:21 +02:00
patrick eb730b9f8b Added example for attempting to hide a circular predicate dependency. 2017-06-12 03:01:30 +02:00
patrick ecdefa9221 Added graph coloring example. 2017-06-12 02:53:02 +02:00
patrick c1899a6347 Added Schur numbers example. 2017-06-12 02:27:57 +02:00
patrick a4cd133ba7 Correctly implemented hiding predicates with nested arguments. 2017-06-12 02:25:04 +02:00
patrick 1d172589f5 Rephrased change log entry for clarity. 2017-06-09 22:13:05 +02:00
patrick 649489a1eb Renamed unit test for clarity. 2017-06-09 22:10:43 +02:00
patrick fd40bd1a5b Added bug fix to change log. 2017-06-09 22:02:02 +02:00
patrick cbe87d8cb7 Fixed issue with simplifying binary operations in arguments. 2017-06-09 22:00:00 +02:00
patrick 9d1a1249d3 Removed obsolete to-do. 2017-06-09 20:19:46 +02:00
patrick 0d5fb00286 Updated clingo. 2017-06-06 19:26:33 +02:00
patrick 1e887594c7 Updated change log with new option --parentheses. 2017-06-06 02:07:21 +02:00
patrick bbbd0b65a4 Added new option --parentheses=full to make parsing the output easier. 2017-06-06 02:02:26 +02:00
patrick 0285c1cbbb Renamed internal variables for clarity. 2017-06-06 01:44:44 +02:00
patrick 95984f0447 Added warning when attempting to use #show statements without completion. 2017-06-05 04:24:00 +02:00
patrick 19ede968ed Added unit test that predicate arity is respected by #show statements. 2017-06-05 04:00:09 +02:00
patrick 7ae0a1f289 Removed unnecessary parentheses after simplification. 2017-06-05 03:58:39 +02:00
patrick 3b26580815 Minor formatting. 2017-06-05 03:54:17 +02:00
patrick b272a91888 Extended unit test for circular dependencies and #show. 2017-06-05 03:40:41 +02:00
patrick b91e55dfc4 Added unit test for recognizing Booleans when hiding statements. 2017-06-05 03:39:10 +02:00
patrick 7904b41e60 Added unit test covering circular dependencies with #show statements. 2017-06-05 03:34:13 +02:00
patrick adabe1bf1a Added simple unit tests for #show statements. 2017-06-05 03:26:09 +02:00
patrick 2cbc3116b8 Updated change log with new #show and simplification features. 2017-06-05 03:07:50 +02:00
patrick 14abc37116 Implemented #show statements for completed output. 2017-06-05 03:02:22 +02:00
patrick 4fd143ef64 Added simplification rule “exists X (X = Y)” → “#true.” 2017-06-05 02:41:17 +02:00
patrick 7bf5d3867d Minor clarification on side effects of a function. 2017-06-05 00:19:43 +02:00
patrick b4c8ce3dc4 Extended AST visitors with optional return type. 2017-06-04 21:59:19 +02:00
patrick ab71e8eb0a Minor refactoring. 2017-06-04 20:55:25 +02:00
patrick dcc504ebc0 Added another simplification step after completion. 2017-06-04 20:55:24 +02:00
patrick 4ed4458f1b Fixed typos in error messages. 2017-06-04 04:43:07 +02:00
patrick 64bd1c17e3 Improved debug output. 2017-06-02 14:59:13 +02:00
patrick 381d55b6ed Minor formatting fix. 2017-06-01 16:16:06 +02:00
patrick 2bc60d3eea Started implementing support for #show statements. 2017-06-01 04:05:11 +02:00
patrick 663c59c470 Removed unused function. 2017-06-01 03:43:18 +02:00
patrick 85614296e2 Improved debug message. 2017-06-01 03:32:19 +02:00
patrick cdcee897ec Added missing error message when input file does not exist. 2017-06-01 03:29:09 +02:00
patrick 0930e062c4 Enforcing color output when testing for convenience. 2017-06-01 03:08:05 +02:00
patrick 4baed6fbc6 Added back completion support. 2017-06-01 02:37:45 +02:00
patrick c47bd3c934 Noted to-do. 2017-06-01 02:32:45 +02:00
patrick b918da3c49 Minor formatting. 2017-06-01 00:19:09 +02:00
patrick e998c5b7be Removed unused variable. 2017-06-01 00:16:02 +02:00
patrick 957457939c Minor formatting. 2017-06-01 00:15:48 +02:00
patrick 4f003a8730 Noted to-do. 2017-05-31 18:12:24 +02:00
patrick 830b8846d6 Added more constructor options for exceptions. 2017-05-31 18:10:55 +02:00
patrick 193b7f5c91 Noted to-do. 2017-05-31 18:07:27 +02:00
patrick 0d8b1e94da Refactored error handling. 2017-05-31 18:03:19 +02:00
patrick aea640a624 Updated change log with unique variable ID feature. 2017-05-30 18:22:01 +02:00
patrick 1de0486989 Removed unnecessary namespace identifiers. 2017-05-30 18:13:31 +02:00
patrick 664a57ec68 Fixed issue with multi-layer variable stacks. 2017-05-30 18:09:33 +02:00
patrick 7aad8380d1 Refactored logging interface. 2017-05-30 17:19:26 +02:00
patrick 59fbc473df Dropping now unused head variable names. 2017-05-30 16:40:56 +02:00
patrick 8214d7837a Fixed incorrect variable declaration look-up in variable stack. 2017-05-30 16:40:14 +02:00
patrick 2964dd1309 Restricting variable stack look-up to user-defined variables. 2017-05-30 16:39:44 +02:00
patrick f78c0e4da5 Reordered constructor parameters of VariableDeclaration. 2017-05-30 16:27:45 +02:00
patrick 9a3c85dc83 Dropping now unused body variable names. 2017-05-30 16:20:57 +02:00
patrick 1917f18b6a Added back simplification support. 2017-05-30 04:06:56 +02:00
patrick 1c925d661b Major refactoring to uniquely link variables to their declarations (breaks simplification and completion). 2017-05-30 03:56:35 +02:00
patrick ce159c7bf0 Added missing assertion. 2017-05-23 15:25:55 +02:00
patrick c2f8762dc1 Removed unnecessary CMake directive. 2017-05-08 14:41:02 +02:00
patrick 48271cea88 Removed obsolete to-do. 2017-05-05 13:51:07 +02:00
patrick 7145d05fb9 Version bump after release 0.1.5. 2017-05-04 16:46:24 +02:00
patrick 3b11eb906a Version bump for release 0.1.5. 2017-05-04 16:00:49 +02:00
patrick d056fabb8b Fixes lost signs with negated 0-ary predicates. 2017-05-04 15:44:37 +02:00
patrick a1793e2dff Updated Catch. 2017-05-04 12:45:39 +02:00
patrick 0f57b96ab9 Updated clingo. 2017-05-04 12:44:51 +02:00
patrick 33f426d860 Version bump after release 0.1.4. 2017-04-12 01:22:15 +02:00
patrick 9a81e12a8f Version bump for release 0.1.4. 2017-04-12 00:59:55 +02:00
patrick 799e77170b Fixed typo. 2017-04-12 00:59:26 +02:00
patrick 7719c4a30b Reverting clingo to older, stable commit for release. 2017-04-12 00:51:56 +02:00
patrick 108c51cf28 Fixed Variant move semantic issue with older compilers. 2017-04-11 16:59:58 +02:00
patrick e7f3c69b77 Fixed incorrectly selected clingo commit. 2017-04-11 15:58:32 +02:00
patrick d999415c3d Enforcing move semantics on all AST elements explicitly. 2017-04-11 15:55:31 +02:00
patrick 6e7abb283e Fixed minor incorrect variable references. 2017-04-10 17:50:19 +02:00
patrick 57bc28bfd3 Updated clingo. 2017-04-10 16:52:48 +02:00
patrick ddeeaecf50 Updated change log with new support for completion. 2017-04-10 16:49:59 +02:00
patrick 5948d30e5c Refactored implementation of completion. 2017-04-10 16:32:12 +02:00
patrick 5fd5b4c1ab Updated Catch. 2017-04-10 14:50:49 +02:00
patrick d4ce0d54e8 Fixed typo. 2017-04-10 14:30:35 +02:00
patrick b0388b9b28 Added example from the completion paper as unit test. 2017-04-08 20:22:50 +02:00
patrick 37526bcc8e Fixed incorrect handling of implications with Booleans. 2017-04-08 20:17:01 +02:00
patrick 2ef3ef24a1 Fixed typos in unit test case. 2017-04-08 20:02:20 +02:00
patrick 2ae5cfbfa6 Enforcing unit tests not to throw exceptions. 2017-04-08 19:59:59 +02:00
patrick a1648e27c9 Added tests covering completion of integrity constraints and facts. 2017-04-08 18:50:42 +02:00
patrick 350f31d0fd Added simple unit tests for completion. 2017-04-08 18:47:06 +02:00
patrick ac7a0f6d4c Fixed typo. 2017-04-08 18:42:36 +02:00
patrick 8ddf068eeb Removed unnecessary include directive. 2017-04-08 18:38:37 +02:00
patrick 8210adea7c Added support for completion of integrity constraints. 2017-04-08 18:25:59 +02:00
patrick a716da4af1 Finished implementing completion (unit tests to follow). 2017-04-08 16:21:24 +02:00
patrick a23e248e7b Omitting the universal quantifier for completion if predicate is 0-ary. 2017-04-08 14:51:16 +02:00