Commit Graph
100 Commits
Author SHA1 Message Date
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
patrick cc27ed7595 Updated Catch. 2017-04-08 14:05:03 +02:00
patrick 811eb3054c Partly implemented completion. 2017-04-06 17:46:16 +02:00
patrick c3351206b9 Removed unused code. 2017-04-06 17:19:32 +02:00
patrick 27b46ceee1 Added scaffold for implementing completion. 2017-04-05 18:21:38 +02:00
patrick 838a68e230 Refactoring to prepare for implementing completion. 2017-04-05 18:15:42 +02:00
patrick 5940fc4a3b Removed workarounds thanks to a fix in clingo. 2017-04-01 03:13:52 +02:00
patrick 7753c22132 Updated clingo. 2017-04-01 03:12:51 +02:00
patrick 584e631cc0 Removed now unneeded declarations. 2017-03-30 17:03:57 +02:00
patrick f57a257b4e Version bump after release 0.1.3. 2017-03-30 16:34:43 +02:00
patrick b59dca5a49 Version bump for release 0.1.3. 2017-03-30 16:17:07 +02:00
patrick 284b0fcff4 Removed unnecessary default case. 2017-03-30 00:54:20 +02:00
patrick 7479b7e308 Updated year in license file. 2017-03-30 00:19:49 +02:00
patrick 3c79625685 Constrained the element’s type in set element expressions to primitive terms. 2017-03-29 23:56:58 +02:00
patrick dbb106c40b Fixed typo in comment. 2017-03-29 23:18:59 +02:00
patrick d0cbdb13e5 Fixed misleading error message concerning negated, unsupported body literals. 2017-03-29 23:09:40 +02:00
patrick ef715de6c4 Updated change log with support for anonymous variables. 2017-03-29 21:33:26 +02:00
patrick dc0f700c46 Added missing subdirectory to CMake configuration. 2017-03-29 21:32:33 +02:00
patrick 0e5ee59ea7 Simplified handling of unsupported clingo statements. 2017-03-29 21:32:11 +02:00
patrick f28873617d Implemented translation of anonymous variables. 2017-03-29 21:28:46 +02:00
patrick 6108adf885 Updated clingo. 2017-03-29 20:53:31 +02:00
patrick a93d59c2a4 Cleaned up clingo rule head and body visitors. 2017-03-28 18:07:06 +02:00
patrick c63d74092e Removed unnecessary assertion. 2017-03-28 17:33:32 +02:00
patrick 29233a7430 Fixed incorrectly named auxiliary body variable counter. 2017-03-28 17:24:41 +02:00
patrick 67864fedbd Merge branch 'fix-comparisons' of github.com:potassco/anthem into develop 2017-03-28 17:21:15 +02:00
patrick 1804daa961 Merge branch 'develop' of github.com:potassco/anthem into develop 2017-03-28 17:18:37 +02:00
patrick 1f501c63a8 Added minor comment to negated comparisons. 2017-03-28 17:17:01 +02:00
patrick 3df4d5a2a2 Fixed incorrectly simplified rules with comparisons. 2017-03-28 17:13:15 +02:00
patrick c8cd6fec48 Added test case for incorrectly simplified rules with comparison. 2017-03-28 17:10:38 +02:00
patrick 58a0a9d074 Fixed needless warning in release mode. 2017-03-28 17:05:24 +02:00
patrick 0b689170e2 Fixed incorrectly rendered Travis badges in readme file. 2017-03-23 18:13:46 +01:00
patrick 46619c3dc7 Updated readme file with note on new --simplify option. 2017-03-23 18:09:48 +01:00
patrick 7c928f07a3 Version bump after release 0.1.2. 2017-03-23 15:38:33 +01:00
patrick 7dcd684717 Version bump for release 0.1.2. 2017-03-23 15:30:17 +01:00
patrick 96899e4dfe Updated change log. 2017-03-23 15:14:33 +01:00