Commit Graph

250 Commits

Author SHA1 Message Date
Patrick Lühne faf6cd0f6c
Fixed incorrect output of #sup and added unit test. 2016-11-24 15:51:25 +01:00
Patrick Lühne 790162532e
Added unit test for 0-ary facts. 2016-11-24 15:51:11 +01:00
Patrick Lühne ac1f464ce3
Added unit tests for facts and integrity constraints. 2016-11-24 15:44:46 +01:00
Patrick Lühne cdfdd8f4ca
Added unit test to check whether escaped user variable names are correctly escaped. 2016-11-24 15:38:55 +01:00
Patrick Lühne 7702441d24
Added unit tests for complicated rule heads. 2016-11-24 15:31:52 +01:00
Patrick Lühne 1bc1aaa900
Added unit tests for translating simple rules. 2016-11-24 15:25:34 +01:00
Patrick Lühne c24147cb2c
Renamed auxiliary variables according to paper draft. 2016-11-24 15:25:34 +01:00
Patrick Lühne 223d380a03
Indexing variables from 1 on and not 0. 2016-11-24 15:25:34 +01:00
Patrick Lühne de34d05898
Fixed incorrect variable IDs (missing offset). 2016-11-24 15:23:10 +01:00
Patrick Lühne c12da5d44a
Added command-line option to control color output. 2016-11-24 15:01:37 +01:00
Patrick Lühne f6e6b6fd60
Fixed bug in color support detection. 2016-11-24 15:01:15 +01:00
Patrick Lühne c92de5e461
Removed unwanted newline. 2016-11-24 14:47:02 +01:00
Patrick Lühne 83737755fc
Changed Logger to print all status messages to std::cerr and not just errors. 2016-11-24 13:55:18 +01:00
Patrick Lühne eff3b45089
Added Logger constructors to write output to arbitrary streams. 2016-11-24 13:54:40 +01:00
Patrick Lühne 8a587eb57a
Removed unnecessary default constructors. 2016-11-24 13:46:11 +01:00
Patrick Lühne 4795284413
Removed unintended commented-out code. 2016-11-24 13:43:32 +01:00
Patrick Lühne 66acbb8965
Changed output format of auxiliary variables and treated potential name collisions. 2016-11-24 13:42:36 +01:00
Patrick Lühne cf786e05b2
Added missing inline directive in header-only function. 2016-11-24 13:27:22 +01:00
Patrick Lühne c760edb141
Fixed missing usages of new output format. 2016-11-24 03:36:14 +01:00
Patrick Lühne e2a450daa6
Implemented syntax highlighting for the body part. 2016-11-24 03:31:28 +01:00
Patrick Lühne 47d7058f5a
Consistently printing operators and Booleans. 2016-11-24 03:20:22 +01:00
Patrick Lühne 098f2bf813
Implemented syntax highlighting for consequent part. 2016-11-24 03:16:37 +01:00
Patrick Lühne e65ec9b6c1
Fixed incorrect auxiliary variable naming. 2016-11-24 03:11:36 +01:00
Patrick Lühne 3fbe8ac407
Fixed missing reset on collected head term vector. 2016-11-24 03:08:36 +01:00
Patrick Lühne 2046edbee3
Enabled new output in app. 2016-11-24 02:57:33 +01:00
Patrick Lühne 6f5f7eace7
Changed format of empty pool expression. 2016-11-24 02:45:16 +01:00
Patrick Lühne b3da15c537
Changed formatting of and/or/xor operators. 2016-11-24 02:44:58 +01:00
Patrick Lühne 018559b8cf
Started implementing color output (currently for head only). 2016-11-24 02:42:32 +01:00
Patrick Lühne e0d46c2e99
Fixed incorrect assertion. 2016-11-24 00:59:41 +01:00
Patrick Lühne f704ad64fd
Fixed syntax error in assertion. 2016-11-24 00:57:35 +01:00
Patrick Lühne 6af3b7b875
Made all visitors consistent in taking an Context object as an argument. 2016-11-24 00:52:28 +01:00
Patrick Lühne 1103f5cbf1
Printing messages only if message has at least a specified priority. 2016-11-24 00:24:35 +01:00
Patrick Lühne 93597f16a0
Added default message format and text. 2016-11-24 00:24:19 +01:00
Patrick Lühne e6a9ee1cc7
Started implementing improved output utilities. 2016-11-24 00:21:01 +01:00
Patrick Lühne 5019922488
Fixed incorrect order of commands in building instructions. 2016-11-23 12:23:11 +01:00
Patrick Lühne 225816538b
Implemented translation of negated body literals. 2016-11-23 05:00:34 +01:00
Patrick Lühne b7c661bddc
Printing constant symbols correctly. 2016-11-23 05:00:34 +01:00
Patrick Lühne be91498384
Removed unwanted translation of boolean literals. 2016-11-23 05:00:33 +01:00
Patrick Lühne abd61095e2
Deleted unneeded files. 2016-11-23 05:00:33 +01:00
Patrick Lühne 29d1c15137
Implemented translation of positive body literals. 2016-11-23 05:00:33 +01:00
Patrick Lühne ba8f68c5d4
Removed unnecessary include directive. 2016-11-23 05:00:33 +01:00
Patrick Lühne 4cbd87c0e1
Handling boolean head literals. 2016-11-23 05:00:33 +01:00
Patrick Lühne bdc560869a
Handling negated head literals. 2016-11-23 05:00:33 +01:00
Patrick Lühne fbe351a85b
Improved and reformatted help texts. 2016-11-23 05:00:33 +01:00
Patrick Lühne 9ccbda49b7
Implemented head translation. 2016-11-23 05:00:33 +01:00
Patrick Lühne 870be1680e
Made output of Boolean variables consistent with clingo’s input language. 2016-11-23 05:00:29 +01:00
Patrick Lühne 920f3ab210
Started implementing translation of head literals. 2016-11-22 17:58:18 +01:00
Patrick Lühne 7e7baa1aab
Wrote simple dummy parser. 2016-11-22 03:15:52 +01:00
Patrick Lühne 14acaea28a
Fixed incorrect build status badge in readme. 2016-11-22 02:18:47 +01:00
Patrick Lühne 3100f4a733
Initial commit. 2016-11-21 17:53:46 +01:00