Commit graph

28 commits

Author SHA1 Message Date
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
37c1307d54 Implement prolog-style unification 2020-12-11 16:50:39 +00:00
89c942e81e Start implementing unification 2020-12-11 13:44:04 +00:00
d8ebda0fa9 Add documentation 2020-11-26 19:26:45 +01:00
d8865c49d7 Remove test terms 2020-11-26 19:06:26 +01:00
b9762ddb10 Correctly display terms 2020-11-26 19:03:22 +01:00
66c77d13b0 Reformat Term.hs 2020-11-26 19:02:57 +01:00
72083325ce Display nested lambdas together 2020-11-26 18:19:18 +01:00
7d0d513735 Display terms with correct parentheses 2020-11-26 17:54:58 +01:00
ed7179a846 Restructure and begin displaying lambdas 2020-11-26 16:07:56 +01:00
fc0ede9499 Create basic lambda term type 2020-11-26 14:16:23 +01:00
b17c5d9d3d Set up simple stack project 2020-11-25 14:52:27 +01:00
d49b95b7b4 Create project 2020-11-24 22:52:41 +00:00