Commit Graph
100 Commits
Author SHA1 Message Date
Mark Thom 6ba47b6b08 use acyclic iteration when projecting onto query vars 2019-02-22 17:48:49 -07:00
Mark Thom f41b5f465e add findall/3 2019-02-22 00:56:04 -07:00
Mark Thom 0453435bcd change project_attributes to use attribute vars queue 2019-02-20 19:34:31 -07:00
Mark Thom e66928725a remove clone from unwind_trail in copier.rs 2019-02-19 22:32:25 -07:00
Mark Thom bf62fd7f78 refactor parts of machine_state_impl.rs that consume copier.rs 2019-02-19 22:01:50 -07:00
Mark Thom b710112df2 refactor copier.rs 2019-02-19 22:00:13 -07:00
Mark Thom 2467f6c711 add call_residue_vars/2 2019-02-18 21:13:56 -07:00
Mark Thom a460e84c57 sort attribute goals before deduplicating them linearly 2019-02-17 12:23:25 -07:00
Mark Thom 896914b8e9 do not count calls to $reify_switch as inferences 2019-02-17 11:51:24 -07:00
Mark Thom a898824b65 ensure stdin is not being locked more than once 2019-02-17 01:33:35 -07:00
Mark Thom 023fec0d9d fix term expansion bug 2019-02-17 00:55:22 -07:00
Mark Thom b7dd76bf37 add library(reif) 2019-02-16 16:34:38 -07:00
Mark Thom d2afd2dd19 cleanup accessors, various other things 2019-02-16 14:40:56 -07:00
Mark Thom 10d5c00f4b polish freeze.pl and dif.pl 2019-02-15 21:04:20 -07:00
Mark Thom 818eeb6c57 correct attribute_goals/2 bug, add freeze/2, update README 2019-02-15 20:44:31 -07:00
Mark Thom 74a0f8b899 correct attribute_goals/2 bug, add freeze/2, update README 2019-02-15 20:44:15 -07:00
Mark Thom 3fb91fe0c8 update README 2019-02-14 22:05:47 -07:00
Mark Thom 9abe70113a correct project_attributes, correct compare_term_test and eq_test, polish attribute_goals/2 2019-02-14 21:59:24 -07:00
Mark Thom 6b879467f3 fix needless check in dif/2 implementation 2019-02-14 16:12:24 -04:00
Mark Thom 8958a563de fix bug in dif/2 implementation 2019-02-14 01:19:11 -07:00
Mark Thom 2af6a00ff2 remove extraneous [ from dif.pl 2019-02-14 01:13:55 -07:00
Mark Thom cd5549ee5b fix attribute_goals/2 display bugs, cycle detection bug 2019-02-14 01:12:52 -07:00
Mark Thom f616b4ddfd prepare to add project_attributes/2 and attribute_goals/2 2019-02-13 14:18:41 -07:00
Mark Thom 7edc2567a8 call verify_attributes/3 once per module 2019-02-12 18:12:18 -07:00
Mark Thom 06021e2373 fix attributed variables dealing with NeckCut on return 2019-02-12 08:38:46 -07:00
Mark Thom e36485533d bracket verify_attributes/3 interrupts with allocation and deallocation of stack frames. 2019-02-11 21:21:13 -07:00
Mark Thom c3a5f25239 correct and update README 2019-02-10 12:56:13 -07:00
Mark Thom 1a76786112 correct and update README 2019-02-10 12:55:18 -07:00
Mark Thom 3a340ed01c cut when finished verify_attributes/3 calls 2019-02-10 11:14:06 -07:00
Mark Thom 938ec60379 correct error catching in call_verify_attributes/4 2019-02-09 14:21:58 -07:00
Mark Thom 197d079281 call goals in one batch after rebinding variables, add minatotask.pl, update README 2019-02-09 13:57:03 -07:00
Mark Thom 33dbe3bb45 correct bugs in verify_attributes handling 2019-02-09 00:16:57 -07:00
Mark Thom 661f9b7414 add preliminary support for verify_attributes/3 2019-02-07 23:33:55 -07:00
Mark Thom 7c2f626d56 add verify_attributes driver code 2019-02-06 22:26:22 -07:00
Mark Thom 046569b6a9 flatten CompiledQuery and CompiledFact in Code, remove CompiledQuery 2019-02-06 22:25:41 -07:00
Mark Thom 9f8dd56c3c correct misspelled AttrVar in copier.rs 2019-02-05 19:43:16 -07:00
Mark Thom 3f5ff2eae1 properly copy already-copied attributed variables as shallow members of lists 2019-02-04 23:04:31 -07:00
Mark Thom 3d5489496e add support for copying attributed variables in copy_term 2019-02-04 22:56:23 -07:00
Mark Thom 8e22dda747 add support for copying attributed variables in copy_term 2019-02-04 22:32:31 -07:00
Mark Thom 50dd3afaa8 add support for copying attributed variables in copy_term 2019-02-04 21:24:26 -07:00
Mark Thom 2267b080ce use bind to write constants to variables 2019-02-03 20:08:34 -07:00
Mark Thom 8a3a79de3c copy attribute list in get_atts 2019-02-03 16:10:12 -07:00
Mark Thom 3cfbbb23a3 introduce a better binding scheme for attributed variables 2019-02-03 15:16:30 -07:00
Mark Thom f51405bc04 fix bug in DeleteAttribute 2019-02-02 19:25:12 -07:00
Mark Thom a28c8934f3 record perm vars only while resident stack frame is still up 2019-02-02 12:45:50 -07:00
Mark Thom 8f771792b3 add Addr::AttVar to address ordering 2019-02-02 12:20:39 -07:00
Mark Thom c5fbff505b expand goals in queries and queues 2019-02-01 23:36:51 -07:00
Mark Thom b6922e2a0d fix Cargo.toml 2019-01-30 21:52:01 -07:00
Mark Thom fcffb90549 add atts.pl, various fixes 2019-01-30 21:31:48 -07:00
Mark Thom 4f87fb8535 add AttrVar variant to Addr 2019-01-26 20:46:37 -07:00
Mark Thom 6e735bc2d4 add TrailRef type for trail 2019-01-26 20:06:27 -07:00
Mark Thom 91b85db90c flatten bracketed commas in dcgs 2019-01-26 14:38:54 -07:00
Mark Thom ef3d3aa01a fix unsafe variable handling 2019-01-24 23:38:53 -07:00
Mark Thom c32090325a update version number 2019-01-22 22:57:47 -07:00
Mark Thom 34414b6895 fix printer 2019-01-22 22:57:23 -07:00
Mark Thom e92996126b prepare for improved (?) ambiguity checks 2019-01-22 20:50:07 -07:00
Mark Thom 498fe5247d prepare to add bracketing conditions to heap_print 2019-01-20 23:56:15 -07:00
Mark Thom 0dabb3f370 add op info to structures and atoms 2019-01-19 22:27:40 -07:00
Mark Thom ca7e62928b clone in situ compiled terms 2019-01-19 17:05:29 -07:00
Mark Thom 18f0263d23 fix setup_hook 2019-01-16 20:03:59 -07:00
Mark Thom 2a4981ba85 delete trailing whitespace in compile.rs 2019-01-16 19:59:19 -07:00
Mark Thom 090f04c7e1 drop_expansions whenever a compilation error occurs 2019-01-16 19:05:07 -07:00
Mark Thom 2f75270da9 clear out expansions from code_repo if code entry fails 2019-01-15 22:20:53 -07:00
Mark Thom c9f6ab984f add dynamic module resolution calls 2019-01-06 00:15:32 -07:00
Mark Thom 387bdb4da6 update README 2019-01-05 22:03:17 -07:00
Mark Thom da731ad1f9 add module-level goal_expansion and term_expansion 2019-01-05 22:02:06 -07:00
Mark Thom 042779cff9 add read support for user:term_expansion and user:goal_expansion 2019-01-05 19:22:38 -07:00
Mark Thom 36fdc8e822 do not add expansions behind module boundaries until the modules are added 2019-01-03 19:43:50 -07:00
Mark Thom 2f2f6314d8 correct write_canonical/2 bug 2018-12-28 16:59:26 -07:00
Mark Thom 56ec550031 fix unification on string lists. 2018-12-23 12:14:03 -07:00
Mark Thom 40fa795d49 fix ambiguity_check 2018-12-19 21:25:06 -07:00
Mark Thom b42706c1d6 make insert_from_end work correctly 2018-12-19 09:27:08 -07:00
Mark Thom 6f0018c3e0 correct space formatting in heap_print 2018-12-19 00:26:46 -07:00
Mark Thom 9064f73655 eliminate ambiguity check on structs with non-zero arity 2018-12-18 23:04:49 -07:00
Mark Thom 6234ae6ef1 convert append to push_char when applicable 2018-12-18 21:54:18 -07:00
Mark Thom 5c12c3047c remove lifetime on ReverseHeapVarDict 2018-12-18 21:42:34 -07:00
Mark Thom 2b774f3041 correct non-termination of expand_goal and expand_term 2018-12-15 00:04:56 -07:00
Mark Thom 47a1cfaddc correct non-termination of expand_goal and expand_term 2018-12-14 19:10:38 -07:00
Mark Thom e90669d159 fix expand_goal and expand_term 2018-12-13 19:38:44 -07:00
Mark Thom 45a68d4bc2 add expand_goal, make user:term_expansion and user:goal_expansion work properly within modules 2018-12-11 22:57:11 -07:00
Mark Thom 226bb7f9ed remove Option wrapper from cached_query 2018-12-10 21:21:15 -07:00
Mark Thom a4406f784a add support for user:goal_expansion 2018-12-09 00:48:28 -07:00
Mark Thom deabdafa48 remove needless result type in try_expand_term 2018-12-02 15:17:45 -07:00
Mark Thom c281c1b427 offset variable indexing for semi-context notations 2018-11-18 21:51:53 -07:00
Mark Thom c718e17346 update version number 2018-11-15 23:24:54 -07:00
Mark Thom 6e20f82d6f fix faulty tidy_trail 2018-11-15 23:04:52 -07:00
Mark Thom 81f4128bc6 update dcgs to handle ; and -> 2018-10-27 20:56:23 -06:00
Mark Thom a4e882756e fix tests 2018-10-24 23:16:49 -06:00
Mark Thom 69a7579adb use proper range notation 2018-10-24 21:08:27 -04:00
Mark Thom 036d248eb0 stop write_canonical from printing numbervars. 2018-10-23 23:11:13 -06:00
Mark Thom 32fecca45d add write variants 2018-10-23 22:53:50 -06:00
Mark Thom 1e3891204e make lists parse properly when used as dcg rules 2018-10-20 23:37:09 -06:00
Mark Thom 4c76920489 fix conformity errors 2018-10-17 22:10:00 -06:00
Mark Thom 1b7ffa00af fix semicontext notation 2018-10-15 22:31:53 -06:00
Mark Thom 3140c65f67 correctly handle anonymous variables when reading 2018-10-15 22:13:58 -06:00
Mark Thom 720426648e correctly handle anonymous variables when reading 2018-10-15 22:11:55 -06:00
Mark Thom a3dc6d2bef add expand_term/2 2018-10-15 20:07:48 -06:00
Mark Thom eabb851d8c add expand_term/2 2018-10-15 20:07:22 -06:00
Mark Thom 24a7206021 fix DCG bugs 2018-10-10 21:30:40 -06:00
Mark Thom 5586aa7057 remove needless self parameter from ambiguity_check 2018-10-09 19:58:15 -06:00