Commit graph

23 commits

Author SHA1 Message Date
a647b9e26f Display empty results and no results differently 2020-12-13 23:53:13 +00:00
d473c8443f Correctly parse expressions 2020-12-13 23:50:48 +00:00
2220c48f6c Clean up unification 2020-12-13 23:35:07 +00:00
d90f2c6a2c Separate out Stat from Term 2020-12-13 23:23:59 +00:00
90669d01f2 Remove examples for testing 2020-12-13 23:23:37 +00:00
744091de01 Parse expressions
Only '=' for now.
2020-12-13 21:56:47 +00:00
1547561fa5 Switch name quotes to single quotes 2020-12-13 21:55:24 +00:00
e4e5c801f3 Escape names properly 2020-12-13 21:19:24 +00:00
2d5a8ece55 Display lists 2020-12-13 21:04:15 +00:00
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