Commit graph

14 commits

Author SHA1 Message Date
0d52c07f68 Parse lists
Correctly printing them comes next.
2020-12-13 20:52:11 +00:00
adebcdd26c Add some comments 2020-12-13 20:35:49 +00:00
659f1a9d33 Parse until eof 2020-12-13 20:31:48 +00:00
8a81cd9e77 Add Debug module for easier testing 2020-12-13 20:23:44 +00:00
10ab319620 Filter out results of type "A = A" 2020-12-13 20:23:28 +00:00
60c2c2fe6d Parse terms and definitions 2020-12-13 20:23:07 +00:00
18e5acd693 Convert terms and definitions to strings 2020-12-13 19:01:55 +00:00
52310c766f Add example terms for testing 2020-12-13 19:01:37 +00:00
655fe97cbc Fix run output
Now, the run output contains the terms with the variables resolved as far as
possible.
2020-12-13 15:22:56 +00:00
6905c7e1cd Run unification on multiple terms 2020-12-12 20:01:49 +01:00
3aa3cb9f41 Encapsulate unification
Now, only a single "run" function is exported that properly performs unification
and outputs a term with nice variable names again.
2020-12-12 17:56:27 +00:00
2803808116 Use T.Text instead of String 2020-12-12 17:24:23 +00:00
b20bbb732e Split up Prolog.hs 2020-12-12 17:23:44 +00:00
2b88420a2a Rename from props to propa-tools 2020-12-11 17:06:10 +00:00