Commit Graph

15 Commits

Author SHA1 Message Date
Fedor Isakov 5ee965a88d Renamed Node to Term, changed the API accordingly 2015-08-01 12:12:50 +02:00
Fedor Isakov 2fb992ead3 Dropped check for unreconciled refs, adapted the tests 2015-03-27 21:50:15 +01:00
Fedor Isakov 41077453e8 Reporting the cause of failed unification, some code cleanup 2015-03-24 16:20:40 +01:00
Fedor Isakov 80d16b592d Ensure cyclic terms in the solution are fully reconciled, some tests and code cleanup 2015-03-24 11:49:06 +01:00
Fedor Isakov 690e2929bb Ensure the data is associated with nodes using identity, except variables, which are identified by symbol 2015-03-22 15:10:41 +01:00
Fedor Isakov 004480ca70 Now allowing REF nodes to point to variables too, adapted the algorithm, removed obsolete interfaces, created more tests 2015-03-20 12:57:35 +01:00
Fedor Isakov 09e0fd00b7 Fixed variables order, removing usages of the obsolete interface, code cleanup 2015-03-19 17:31:08 +01:00
Fedor Isakov 868d82c1db Made the Node's inner enum explicitly public (MPS wrongly assumes it to be package local) 2015-03-18 11:56:58 +01:00
Fedor Isakov 28387e683b Introduced unification of cyclic terms, redesigned the algorithm, refactored the API, wrote a bunch of tests 2015-03-18 11:21:03 +01:00
Fedor Isakov 4e1abad452 Avoid infinite recursion: replace the variables without calling the method recursively 2015-02-03 18:33:21 +01:00
Fedor Isakov 928f0cb273 Sorting the order of variables in a binding in case of a var->var substitution; some tests 2015-02-03 16:34:39 +01:00
Fedor Isakov c5da28e059 Slightly better API, changed the tests's package 2014-07-21 16:06:25 +02:00
Fedor Isakov ffedd78988 Unification fails in case two terms' children's sizes are different 2014-07-09 14:34:08 +02:00
Fedor Isakov 49c96f1526 Better Node API, cleaner code 2014-07-03 19:06:39 +02:00
Fedor Isakov 8d8b6ab817 Initial commit 2014-06-11 18:21:31 +02:00