Commit Graph

38 Commits

Author SHA1 Message Date
Mark Thom
2be7070e1a revert arithmetic code 2019-12-08 00:17:55 -07:00
Mark Thom
15927d7054 transition to unsafe and/or stack 2019-11-16 19:51:53 -04:00
Mark Thom
e656e7fbae add sign/1 (#216) and gcd/2 (#217) as evaluable functors, update the README 2019-10-27 13:05:05 -06:00
Yu Ding
adb469f627 Upgrade to edition. Bump up edition in Cargo.toml 2019-10-14 00:23:32 -07:00
Atul Bhosale
1273e2d52d Format code using 'cargo fmt' 2019-09-23 19:35:37 +07:00
Mark Thom
39d5e6a2f9 correct for issue #145 2019-06-14 09:00:43 -04:00
Mark Thom
ea9cfa6d40 pass more numbers by reference 2019-05-25 00:16:07 -04:00
Mark Thom
1baf772b1c pass Number's by reference when possible 2019-05-22 19:48:34 -04:00
Mark Thom
59ab4cd67c process float/1 and pi/0 2019-05-12 22:21:29 -04:00
Mark Thom
f344150322 revamp evaluable functors, add missing evaluable functors 2019-05-12 20:14:00 -04:00
Mark Thom
3912a4772d fix conformity errors 2019-04-04 22:51:00 -06:00
Mark Thom
e3e0473b69 fix term_variables, add (^)/2 as an actual evaluable functor 2019-04-01 09:04:50 -06:00
Mark Thom
da0e1b9436 add assoc.pl, add max evaluable functor 2019-03-08 22:31:12 -07:00
Mark Thom
3d8c0a43a6 refactor to actual modules 2019-03-03 23:29:02 -07:00
Mark Thom
33d1a7c701 add structural tests for partial strings, rename ast.rs 2018-09-04 21:20:45 -06:00
Mark Thom
ff9d2662e6 farm parser out to a crate, remove it as a git submodule. 2018-09-03 21:58:07 -06:00
Mark Thom
4be20e48e6 fixes to quoted 2018-09-03 17:21:28 -06:00
Mark Thom
78ea3f5441 add (^) as an evaluable factor, re: #39 2018-09-01 13:48:04 -06:00
Mark Thom
38dcd6113e preliminary read support 2018-07-25 17:12:07 -06:00
Mark Thom
8a63623516 add provisional module support. 2018-03-02 22:28:12 -07:00
Mark Thom
cf9db43d5b major refactor. 2018-02-25 12:13:07 -07:00
Mark Thom
f9b53856ac add callable is/2 2018-01-19 00:08:55 -07:00
Mark Thom
1b402b2673 clean up arithmetic.rs 2018-01-18 19:54:15 -07:00
Mark Thom
1fefcc2d28 abstract out iterator for arithmetic terms. 2018-01-17 22:43:46 -07:00
Mark Thom
f95901a6d0 change arithmetic evaluation iterator to new target type 2018-01-17 21:39:59 -07:00
Mark Thom
58ba368280 mark structures with their fixity 2018-01-14 21:48:10 -07:00
Mark Thom
c513bbeafa another big refactor 2018-01-11 20:56:04 -07:00
Mark Thom
59ccf5d8e8 delete needless use 2018-01-11 17:07:29 -07:00
Mark Thom
848068c734 transition to reference counted constants 2018-01-09 22:38:17 -07:00
Mark Thom
cf6a47272a inline comparison instructions. 2017-12-04 21:01:23 -07:00
Mark Thom
7b569becbe add support for comparison operators. 2017-12-03 17:44:51 -07:00
Mark Thom
e8a9da0dca add bitwise and modular operations. 2017-12-03 14:15:01 -07:00
Mark Thom
9a7419c507 add support for rational numbers, division. 2017-12-02 11:10:25 -07:00
Mark Thom
b1ae09d7aa add register marking for non-callable/inlined predicates. 2017-11-12 23:43:42 -07:00
Mark Thom
e0f2ca80b5 simply post order iterators. 2017-11-12 01:36:19 -07:00
Mark Thom
41d99938e7 fix arithmetic bugs. 2017-11-06 22:01:54 -07:00
Mark Thom
2225674b58 pass binding info to arithmetic evaluator 2017-11-06 13:35:48 -07:00
Mark Thom
5568d0b370 add provisions for arithmetic support. 2017-11-05 17:12:30 -07:00