Commit Graph
100 Commits
Author SHA1 Message Date
Mark Thom fb47423c77 update 2019-04-13 18:43:04 -06:00
Mark Thom c41451c395 correct prolog_parser path 2019-04-13 18:40:52 -06:00
Mark Thom ae90554378 read from streams. 2019-04-13 18:40:17 -06:00
Mark Thom ed17867be0 update prolog_parser, refine bracketing tests. 2019-04-07 12:56:31 -06:00
Mark Thom e9c8d6adb9 correct conformity test #234 2019-04-07 12:14:20 -06:00
Mark Thom 8963936f0c re: conformity test #181 2019-04-07 11:49:21 -06:00
Mark Thom 6308aa7a1e re: conformity test #181 2019-04-07 11:44:56 -06:00
Mark Thom 0579ad6cfa update README.md 2019-04-07 10:09:01 -06:00
Mark Thom 4bd9908b89 resolve conformity test #138 (issue #52) 2019-04-07 10:07:17 -06:00
Mark Thom 68f89b32b8 update README 2019-04-06 17:50:50 -06:00
Mark Thom fb0b7085b4 fix more conformity errors 2019-04-06 17:44:04 -06:00
Mark Thom 16eadc7412 correct for issues #88, #89, #90, conformity test #208. 2019-04-06 09:46:42 -06:00
Mark Thom a3af56351b correct prolog_parser package 2019-04-06 00:15:07 -06:00
Mark Thom 7a497fd4e1 correct bad atom_length/2, atom_chars/2 error reporting 2019-04-06 00:13:52 -06:00
Mark Thom 3aa8d11a98 update version number 2019-04-05 23:04:40 -06:00
Mark Thom e3e6f926c7 add atom_length/2, atom_chars/2, atom_codes/2 2019-04-05 23:00:53 -06:00
Mark Thom 272b4f6d8d add current_op/3 2019-04-05 21:25:49 -06:00
Mark Thom 03f2190d6b remove $reify_switch 2019-04-05 09:04:05 -06:00
Mark Thom 6dade1b917 update version number 2019-04-04 22:52:06 -06:00
Mark Thom 3912a4772d fix conformity errors 2019-04-04 22:51:00 -06:00
Mark Thom 546aeea479 move forall/2 to non_iso, correct test cases. 2019-04-03 18:13:05 -06:00
Mark Thom 535a6c17e9 move forall/2 to non_iso, correct test cases. 2019-04-03 18:12:36 -06:00
Mark Thom 9ad809680d Merge pull request #83 from pmoura/add_forall_2_predicate
add de facto standard forall/2 predicate as a built-in predicate
2019-04-03 10:13:26 -03:00
Mark Thom 712d85129c update parser 2019-04-03 09:26:37 -06:00
Mark Thom f0570a3940 update parser to correct additional conformity errors, re: #52 2019-04-03 09:06:43 -06:00
Mark Thom 98f9027b2e pass more conformity tests 2019-04-01 23:08:03 -06:00
Mark Thom 82ff29c496 Merge branch 'master' of https://github.com/mthom/rusty-wam 2019-04-01 22:05:45 -06:00
Mark Thom b6a5254e35 re: #80, #52 2019-04-01 22:05:30 -06:00
Mark Thom 9051d126a7 Merge pull request #82 from KellerFuchs/readme
README: Use checkboxes to track item completion in Phase 2
2019-04-01 19:35:16 -03:00
Mark Thom 128181753b update version number 2019-04-01 09:05:17 -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 2240418a25 re: #75, #52 2019-03-31 22:30:42 -06:00
Mark Thom df5e538dc6 add structural tests for strings as char code lists 2019-03-31 20:11:20 -06:00
Mark Thom a15ebd20c1 add support for char codes 2019-03-31 19:48:40 -06:00
Mark Thom a97e8a4b5c update version number 2019-03-31 11:36:42 -06:00
Mark Thom 701cbc7a19 do a better job recognizing and bracketing operators 2019-03-31 11:35:19 -06:00
Mark Thom 252873694b clean up heap_print.rs 2019-03-31 02:17:50 -06:00
Mark Thom a2f531eeb7 correct comma printing 2019-03-31 02:13:58 -06:00
Mark Thom 35e91ee47c make op/3 a predicate call from the query context 2019-03-31 00:29:53 -06:00
Mark Thom 3e67400bd3 specially handle commas 2019-03-30 21:31:57 -06:00
Mark Thom 0aefcf7eae add op/3 to builtin predicates 2019-03-30 18:14:47 -06:00
Mark Thom f55968b1b8 properly demarcate ops in dbrefs 2019-03-30 13:38:03 -06:00
Mark Thom 352ebd1706 re: #73 2019-03-30 12:38:26 -06:00
Mark Thom 8945bae70b use can_be(list, _) in all solutions predicates 2019-03-30 10:44:49 -06:00
Mark Thom 5a30c7b9be Merge branch 'master' of https://github.com/mthom/rusty-wam
Merge with downcast update.
2019-03-29 22:50:43 -06:00
Mark Thom b45c591c89 update writer 2019-03-29 22:49:33 -06:00
Mark Thom f766e9f1b0 Merge pull request #70 from XVilka/patch-1
Update downcast dependency
2019-03-29 09:12:26 -03:00
Mark Thom 3aeebbe6d6 pass more conformity tests 2019-03-29 00:14:03 -06:00
Mark Thom 381ad12104 add db refs 2019-03-27 23:00:59 -06:00
Mark Thom e7bc01369a make current_predicate/1 more general, re: #66 2019-03-27 21:13:36 -06:00
Mark Thom 32c8a5e55f index inlined and builtin clausetypes inside a BTreeMap 2019-03-26 21:59:50 -06:00
Mark Thom 44f762a4f0 update readline.rs crate 2019-03-24 17:17:54 -06:00
Mark Thom 0a78ddcd0b update version number 2019-03-24 15:26:51 -06:00
Mark Thom 7ff7edee59 bracket RHS when necessary in variable equations 2019-03-24 15:26:32 -06:00
Mark Thom 3ad1b86286 use updated readline 2019-03-24 13:18:28 -06:00
Mark Thom 155c54c99d fix toplevel heap view 2019-03-24 10:10:43 -06:00
Mark Thom ca5138ccea fix toplevel heap view 2019-03-24 09:55:20 -06:00
Mark Thom eecfcafef6 update tests 2019-03-24 09:33:12 -06:00
Mark Thom 12fac66431 do a better job of printing integral floats. 2019-03-24 09:30:20 -06:00
Mark Thom 11198fdb31 print attribute goals alongside variable bindings as a single, unified goals 2019-03-24 00:26:29 -06:00
Mark Thom 0351936a58 update version number 2019-03-23 09:43:26 -06:00
Mark Thom 0b79ae0524 do not print unbound vars at toplevel 2019-03-23 09:43:05 -06:00
Mark Thom 380375228b allow toplevel answers to be passed back as queries 2019-03-22 10:00:07 -06:00
Mark Thom 33b581effc enable an option to disable readline 2019-03-21 19:46:42 -06:00
Mark Thom 4b2fb8b1c7 fail if attempting dynamic transaction in term and goal expansion 2019-03-19 21:03:37 -06:00
Mark Thom 55a251d1c4 correct register threshold calculation. 2019-03-17 21:45:30 -06:00
Mark Thom cd683c7f3d update readline instructions in README, dependence on readline_rs_compat with new library search paths 2019-03-17 19:22:36 -06:00
Mark Thom 9471a07ffa use readline with better build support 2019-03-17 18:42:26 -06:00
Mark Thom 179bede1db update version and README 2019-03-17 18:11:08 -06:00
Mark Thom c7ebd59b4a set rl_startup_hook only once 2019-03-17 18:09:48 -06:00
Mark Thom fd703c3610 make toplevel more consistent with answers, depend on readline package without renaming. 2019-03-17 17:49:51 -06:00
Mark Thom 4cefd35eb4 add rename-dependencies to Cargo manifest 2019-03-17 15:25:55 -06:00
Mark Thom 840b98dcf3 update readline.rs version 2019-03-17 15:22:31 -06:00
Mark Thom 2927387a66 use the updated readline.rs 2019-03-17 15:01:10 -06:00
Mark Thom a85fd5efa5 use concrete version number for readline-rs 2019-03-17 14:51:55 -06:00
Mark Thom 4a7cd50e4b use new readline crate 2019-03-17 14:50:57 -06:00
Mark Thom 1ce8d90627 add halt/0 2019-03-17 14:38:55 -06:00
Mark Thom 2fad1c724c use the readline library at toplevel 2019-03-16 19:12:06 -06:00
Mark Thom bc0f0719fb update README 2019-03-13 09:29:28 -06:00
Mark Thom 0eb2fb3d90 add non-backtrackable and backtrackable global variables 2019-03-13 00:16:57 -06:00
Mark Thom f0f8bfb569 update build instructions, change to the scryer-prolog crate 2019-03-13 00:00:24 -06:00
Mark Thom d81268a181 clean up bb_put/2 a bit 2019-03-12 22:57:02 -06:00
Mark Thom 4a736453fc update README: backtrackable globals 2019-03-12 22:39:59 -06:00
Mark Thom 527ac606e9 bb_put/2 and bb_get/2 2019-03-12 22:38:47 -06:00
Mark Thom b5ad8051d8 use ordsets in library(dif) 2019-03-12 19:13:03 -06:00
Mark Thom 2af08b31d2 change the semantics of put_atts/2 to better reflect those of SICSTus 2019-03-12 18:45:42 -06:00
Mark Thom a6d3f39152 add ordsets library, domain.pl attributed variables example 2019-03-10 22:33:09 -06:00
Mark Thom b1d061f76b eliminate generation of dynamic clauses when compiling term expansion clauses 2019-03-09 17:36:27 -07:00
Mark Thom 0d41b27abb remove dynamic code indices when modules are redefined. 2019-03-09 14:19:49 -07:00
Mark Thom 9f398b2552 perform term and goal expansion on asserted dynamic predicates inside modules 2019-03-09 13:41:33 -07:00
Mark Thom 870aa7651e propagate dynamic database changes to toplevel 2019-03-09 03:19:32 -07:00
Mark Thom adf9629333 stop module dynamic predicate modifications from taking on the user module index. 2019-03-09 00:37:58 -07:00
Mark Thom 92c36aa0d9 properly update dynamically updated predicates in module indices 2019-03-08 23:11:06 -07:00
Mark Thom da0e1b9436 add assoc.pl, add max evaluable functor 2019-03-08 22:31:12 -07:00
Mark Thom 089428b8c4 split dynamic database keys across modules 2019-03-08 21:22:15 -07:00
Mark Thom 267d1a9f5f improve Rust-generated permissions errors 2019-03-07 23:46:01 -07:00
Mark Thom 3cb1996e61 make clause/2 global in scope 2019-03-07 23:32:41 -07:00
Mark Thom 933c19c317 correct clause/2 to work only on properly scoped terms 2019-03-07 22:55:54 -07:00
Mark Thom b1e47cc465 further cross-module dynamic database fixes 2019-03-07 22:01:03 -07:00
Mark Thom 72f759da40 correct mismanagement of dynamic database across modules 2019-03-07 20:27:55 -07:00