]> Repositorios git - scryer-prolog.git/log
scryer-prolog.git
7 years agobb_put/2 and bb_get/2
Mark Thom [Wed, 13 Mar 2019 04:38:47 +0000 (22:38 -0600)]
bb_put/2 and bb_get/2

7 years agouse ordsets in library(dif)
Mark Thom [Wed, 13 Mar 2019 01:13:03 +0000 (19:13 -0600)]
use ordsets in library(dif)

7 years agochange the semantics of put_atts/2 to better reflect those of SICSTus
Mark Thom [Wed, 13 Mar 2019 00:45:42 +0000 (18:45 -0600)]
change the semantics of put_atts/2 to better reflect those of SICSTus

7 years agoadd ordsets library, domain.pl attributed variables example
Mark Thom [Mon, 11 Mar 2019 04:33:09 +0000 (22:33 -0600)]
add ordsets library, domain.pl attributed variables example

7 years agoeliminate generation of dynamic clauses when compiling term expansion clauses
Mark Thom [Sun, 10 Mar 2019 00:36:27 +0000 (17:36 -0700)]
eliminate generation of dynamic clauses when compiling term expansion clauses

7 years agoremove dynamic code indices when modules are redefined.
Mark Thom [Sat, 9 Mar 2019 21:19:49 +0000 (14:19 -0700)]
remove dynamic code indices when modules are redefined.

7 years agoperform term and goal expansion on asserted dynamic predicates inside modules
Mark Thom [Sat, 9 Mar 2019 20:41:33 +0000 (13:41 -0700)]
perform term and goal expansion on asserted dynamic predicates inside modules

7 years agopropagate dynamic database changes to toplevel
Mark Thom [Sat, 9 Mar 2019 10:19:32 +0000 (03:19 -0700)]
propagate dynamic database changes to toplevel

7 years agostop module dynamic predicate modifications from taking on the user module index.
Mark Thom [Sat, 9 Mar 2019 07:37:58 +0000 (00:37 -0700)]
stop module dynamic predicate modifications from taking on the user module index.

7 years agoproperly update dynamically updated predicates in module indices
Mark Thom [Sat, 9 Mar 2019 06:11:06 +0000 (23:11 -0700)]
properly update dynamically updated predicates in module indices

7 years agoadd assoc.pl, add max evaluable functor
Mark Thom [Sat, 9 Mar 2019 05:31:12 +0000 (22:31 -0700)]
add assoc.pl, add max evaluable functor

7 years agosplit dynamic database keys across modules
Mark Thom [Sat, 9 Mar 2019 04:22:15 +0000 (21:22 -0700)]
split dynamic database keys across modules

7 years agoimprove Rust-generated permissions errors
Mark Thom [Fri, 8 Mar 2019 06:46:01 +0000 (23:46 -0700)]
improve Rust-generated permissions errors

7 years agomake clause/2 global in scope
Mark Thom [Fri, 8 Mar 2019 06:32:41 +0000 (23:32 -0700)]
make clause/2 global in scope

7 years agocorrect clause/2 to work only on properly scoped terms
Mark Thom [Fri, 8 Mar 2019 05:55:54 +0000 (22:55 -0700)]
correct clause/2 to work only on properly scoped terms

7 years agofurther cross-module dynamic database fixes
Mark Thom [Fri, 8 Mar 2019 05:01:03 +0000 (22:01 -0700)]
further cross-module dynamic database fixes

7 years agocorrect mismanagement of dynamic database across modules
Mark Thom [Fri, 8 Mar 2019 03:27:55 +0000 (20:27 -0700)]
correct mismanagement of dynamic database across modules

7 years agoupdate toplevel exports when updated dynamically
Mark Thom [Thu, 7 Mar 2019 06:35:50 +0000 (23:35 -0700)]
update toplevel exports when updated dynamically

7 years agoupdate toplevel exports when updated dynamically
Mark Thom [Thu, 7 Mar 2019 05:33:16 +0000 (22:33 -0700)]
update toplevel exports when updated dynamically

7 years agoMerge branch 'master' of https://github.com/mthom/rusty-wam
Mark Thom [Thu, 7 Mar 2019 04:53:17 +0000 (21:53 -0700)]
Merge branch 'master' of https://github.com/mthom/rusty-wam

7 years agosupport module modification using dynamic database predicates
Mark Thom [Thu, 7 Mar 2019 04:53:08 +0000 (21:53 -0700)]
support module modification using dynamic database predicates

7 years agocorrect abolish/1
Mark Thom [Wed, 6 Mar 2019 16:54:27 +0000 (09:54 -0700)]
correct abolish/1

7 years agoupdate to reflect name change
Mark Jordan Thom [Wed, 6 Mar 2019 16:37:58 +0000 (16:37 +0000)]
update to reflect name change

7 years agogive module bounds a better respect for dynamic predicates
Mark Thom [Wed, 6 Mar 2019 16:17:24 +0000 (09:17 -0700)]
give module bounds a better respect for dynamic predicates

7 years agogive dynamic predicates a better respect for module bounds
Mark Thom [Wed, 6 Mar 2019 07:51:21 +0000 (00:51 -0700)]
give dynamic predicates a better respect for module bounds

7 years agogive dynamic predicates a better respect for module bounds
Mark Thom [Wed, 6 Mar 2019 07:09:55 +0000 (00:09 -0700)]
give dynamic predicates a better respect for module bounds

7 years agorefactor compile_work
Mark Thom [Tue, 5 Mar 2019 07:47:12 +0000 (00:47 -0700)]
refactor compile_work

7 years agoseparate constraint checks and code addition into separate phases in machine::compile
Mark Thom [Tue, 5 Mar 2019 07:17:56 +0000 (00:17 -0700)]
separate constraint checks and code addition into separate phases in machine::compile

7 years agocurrent_predicate skips undefined predicates
Mark Thom [Tue, 5 Mar 2019 05:44:43 +0000 (22:44 -0700)]
current_predicate skips undefined predicates

7 years agoadd another test, add unwind_protect!
Mark Thom [Tue, 5 Mar 2019 05:34:17 +0000 (22:34 -0700)]
add another test, add unwind_protect!

7 years agoremove extraneous slashes in builtins.pl
Mark Thom [Tue, 5 Mar 2019 05:03:04 +0000 (22:03 -0700)]
remove extraneous slashes in builtins.pl

7 years agorefactor to actual modules
Mark Thom [Mon, 4 Mar 2019 06:29:02 +0000 (23:29 -0700)]
refactor to actual modules

7 years agoremove unification from dif/2
Mark Thom [Mon, 4 Mar 2019 01:14:05 +0000 (18:14 -0700)]
remove unification from dif/2

7 years agocondense reverse even further
Mark Thom [Mon, 4 Mar 2019 00:36:20 +0000 (17:36 -0700)]
condense reverse even further

7 years agotighten reverse/2
Mark Thom [Sun, 3 Mar 2019 17:37:34 +0000 (10:37 -0700)]
tighten reverse/2

7 years agoimprove reverse/2
Mark Thom [Sun, 3 Mar 2019 09:50:49 +0000 (02:50 -0700)]
improve reverse/2

7 years agoeliminate redundant set_p function
Mark Thom [Sun, 3 Mar 2019 06:13:54 +0000 (23:13 -0700)]
eliminate redundant set_p function

7 years agodo not hard code arity in builtins.pl
Mark Thom [Sun, 3 Mar 2019 05:58:37 +0000 (22:58 -0700)]
do not hard code arity in builtins.pl

7 years agocorrect inlining calling in last call context
Mark Thom [Sun, 3 Mar 2019 05:57:07 +0000 (22:57 -0700)]
correct inlining calling in last call context

7 years agocorrect inlined calling bug in last call, add dynamic database manipulation predicates
Mark Thom [Sat, 2 Mar 2019 23:57:45 +0000 (16:57 -0700)]
correct inlined calling bug in last call, add dynamic database manipulation predicates

7 years agoadd assertz/1 and asserta/1
Mark Thom [Sat, 2 Mar 2019 07:27:40 +0000 (00:27 -0700)]
add assertz/1 and asserta/1

7 years agostart enabling the dynamic database
Mark Thom [Fri, 1 Mar 2019 04:49:07 +0000 (21:49 -0700)]
start enabling the dynamic database

7 years agoremove defunct dependency from reif.pl
Mark Thom [Tue, 26 Feb 2019 00:40:37 +0000 (17:40 -0700)]
remove defunct dependency from reif.pl

7 years agomake better use of can_be in between library
Mark Thom [Sun, 24 Feb 2019 22:15:00 +0000 (15:15 -0700)]
make better use of can_be in between library

7 years agoevacuate when allocating anon vars
Mark Thom [Sun, 24 Feb 2019 20:40:58 +0000 (13:40 -0700)]
evacuate when allocating anon vars

7 years agoremove redundancy positivity check in repeat/1
Mark Thom [Sun, 24 Feb 2019 20:12:46 +0000 (13:12 -0700)]
remove redundancy positivity check in repeat/1

7 years agouse can_be and must_be in library(between)
Mark Thom [Sun, 24 Feb 2019 20:10:31 +0000 (13:10 -0700)]
use can_be and must_be in library(between)

7 years agobegin work on between library
Mark Thom [Sun, 24 Feb 2019 10:45:41 +0000 (03:45 -0700)]
begin work on between library

7 years agoadd numlist/3
Mark Thom [Sun, 24 Feb 2019 10:38:07 +0000 (03:38 -0700)]
add numlist/3

7 years agobegin work on between library
Mark Thom [Sun, 24 Feb 2019 02:59:13 +0000 (19:59 -0700)]
begin work on between library

7 years agoadd correct error sources to bagof/3, setof/3, findall/4
Mark Thom [Sat, 23 Feb 2019 06:37:19 +0000 (23:37 -0700)]
add correct error sources to bagof/3, setof/3, findall/4

7 years agoadd examples from the power of prolog
Mark Thom [Sat, 23 Feb 2019 06:25:19 +0000 (23:25 -0700)]
add examples from the power of prolog

7 years agoadd findall/4, bagof/3, setof/3
Mark Thom [Sat, 23 Feb 2019 06:22:25 +0000 (23:22 -0700)]
add findall/4, bagof/3, setof/3

7 years agoproperly report deterministically successful queries
Mark Thom [Sat, 23 Feb 2019 02:38:49 +0000 (19:38 -0700)]
properly report deterministically successful queries

7 years agouse acyclic iteration when projecting onto query vars
Mark Thom [Sat, 23 Feb 2019 00:48:49 +0000 (17:48 -0700)]
use acyclic iteration when projecting onto query vars

7 years agoadd findall/3
Mark Thom [Fri, 22 Feb 2019 07:56:04 +0000 (00:56 -0700)]
add findall/3

7 years agochange project_attributes to use attribute vars queue
Mark Thom [Thu, 21 Feb 2019 02:34:31 +0000 (19:34 -0700)]
change project_attributes to use attribute vars queue

7 years agoremove clone from unwind_trail in copier.rs
Mark Thom [Wed, 20 Feb 2019 05:32:25 +0000 (22:32 -0700)]
remove clone from unwind_trail in copier.rs

7 years agorefactor parts of machine_state_impl.rs that consume copier.rs
Mark Thom [Wed, 20 Feb 2019 05:01:50 +0000 (22:01 -0700)]
refactor parts of machine_state_impl.rs that consume copier.rs

7 years agorefactor copier.rs
Mark Thom [Wed, 20 Feb 2019 05:00:13 +0000 (22:00 -0700)]
refactor copier.rs

7 years agoadd call_residue_vars/2
Mark Thom [Tue, 19 Feb 2019 04:13:56 +0000 (21:13 -0700)]
add call_residue_vars/2

7 years agosort attribute goals before deduplicating them linearly
Mark Thom [Sun, 17 Feb 2019 19:23:25 +0000 (12:23 -0700)]
sort attribute goals before deduplicating them linearly

7 years agodo not count calls to $reify_switch as inferences
Mark Thom [Sun, 17 Feb 2019 18:51:24 +0000 (11:51 -0700)]
do not count calls to $reify_switch as inferences

7 years agoensure stdin is not being locked more than once
Mark Thom [Sun, 17 Feb 2019 08:33:35 +0000 (01:33 -0700)]
ensure stdin is not being locked more than once

7 years agofix term expansion bug
Mark Thom [Sun, 17 Feb 2019 07:55:22 +0000 (00:55 -0700)]
fix term expansion bug

7 years agoadd library(reif)
Mark Thom [Sat, 16 Feb 2019 23:34:38 +0000 (16:34 -0700)]
add library(reif)

7 years agocleanup accessors, various other things
Mark Thom [Sat, 16 Feb 2019 21:40:56 +0000 (14:40 -0700)]
cleanup accessors, various other things

7 years agopolish freeze.pl and dif.pl
Mark Thom [Sat, 16 Feb 2019 04:04:20 +0000 (21:04 -0700)]
polish freeze.pl and dif.pl

7 years agocorrect attribute_goals/2 bug, add freeze/2, update README
Mark Thom [Sat, 16 Feb 2019 03:44:31 +0000 (20:44 -0700)]
correct attribute_goals/2 bug, add freeze/2, update README

7 years agocorrect attribute_goals/2 bug, add freeze/2, update README
Mark Thom [Sat, 16 Feb 2019 03:44:15 +0000 (20:44 -0700)]
correct attribute_goals/2 bug, add freeze/2, update README

7 years agoupdate README
Mark Thom [Fri, 15 Feb 2019 05:05:47 +0000 (22:05 -0700)]
update README

7 years agocorrect project_attributes, correct compare_term_test and eq_test, polish attribute_g...
Mark Thom [Fri, 15 Feb 2019 04:59:24 +0000 (21:59 -0700)]
correct project_attributes, correct compare_term_test and eq_test, polish attribute_goals/2

7 years agofix needless check in dif/2 implementation
Mark Thom [Thu, 14 Feb 2019 20:12:24 +0000 (16:12 -0400)]
fix needless check in dif/2 implementation

7 years agofix bug in dif/2 implementation
Mark Thom [Thu, 14 Feb 2019 08:19:11 +0000 (01:19 -0700)]
fix bug in dif/2 implementation

7 years agoremove extraneous [ from dif.pl
Mark Thom [Thu, 14 Feb 2019 08:13:55 +0000 (01:13 -0700)]
remove extraneous [ from dif.pl

7 years agofix attribute_goals/2 display bugs, cycle detection bug
Mark Thom [Thu, 14 Feb 2019 08:12:52 +0000 (01:12 -0700)]
fix attribute_goals/2 display bugs, cycle detection bug

7 years agoprepare to add project_attributes/2 and attribute_goals/2
Mark Thom [Wed, 13 Feb 2019 21:18:41 +0000 (14:18 -0700)]
prepare to add project_attributes/2 and attribute_goals/2

7 years agocall verify_attributes/3 once per module
Mark Thom [Wed, 13 Feb 2019 01:12:18 +0000 (18:12 -0700)]
call verify_attributes/3 once per module

7 years agofix attributed variables dealing with NeckCut on return
Mark Thom [Tue, 12 Feb 2019 15:38:46 +0000 (08:38 -0700)]
fix attributed variables dealing with NeckCut on return

7 years agobracket verify_attributes/3 interrupts with allocation and deallocation of stack...
Mark Thom [Tue, 12 Feb 2019 04:21:13 +0000 (21:21 -0700)]
bracket verify_attributes/3 interrupts with allocation and deallocation of stack frames.

7 years agocorrect and update README
Mark Thom [Sun, 10 Feb 2019 19:56:13 +0000 (12:56 -0700)]
correct and update README

7 years agocorrect and update README
Mark Thom [Sun, 10 Feb 2019 19:55:18 +0000 (12:55 -0700)]
correct and update README

7 years agocut when finished verify_attributes/3 calls
Mark Thom [Sun, 10 Feb 2019 18:14:06 +0000 (11:14 -0700)]
cut when finished verify_attributes/3 calls

7 years agocorrect error catching in call_verify_attributes/4
Mark Thom [Sat, 9 Feb 2019 21:21:58 +0000 (14:21 -0700)]
correct error catching in call_verify_attributes/4

7 years agocall goals in one batch after rebinding variables, add minatotask.pl, update README
Mark Thom [Sat, 9 Feb 2019 20:57:03 +0000 (13:57 -0700)]
call goals in one batch after rebinding variables, add minatotask.pl, update README

7 years agocorrect bugs in verify_attributes handling
Mark Thom [Sat, 9 Feb 2019 07:16:57 +0000 (00:16 -0700)]
correct bugs in verify_attributes handling

7 years agoadd preliminary support for verify_attributes/3
Mark Thom [Fri, 8 Feb 2019 06:33:55 +0000 (23:33 -0700)]
add preliminary support for verify_attributes/3

7 years agoadd verify_attributes driver code
Mark Thom [Thu, 7 Feb 2019 05:26:22 +0000 (22:26 -0700)]
add verify_attributes driver code

7 years agoflatten CompiledQuery and CompiledFact in Code, remove CompiledQuery
Mark Thom [Thu, 7 Feb 2019 05:25:41 +0000 (22:25 -0700)]
flatten CompiledQuery and CompiledFact in Code, remove CompiledQuery

7 years agocorrect misspelled AttrVar in copier.rs
Mark Thom [Wed, 6 Feb 2019 02:43:16 +0000 (19:43 -0700)]
correct misspelled AttrVar in copier.rs

7 years agoproperly copy already-copied attributed variables as shallow members of lists
Mark Thom [Tue, 5 Feb 2019 06:04:31 +0000 (23:04 -0700)]
properly copy already-copied attributed variables as shallow members of lists

7 years agoadd support for copying attributed variables in copy_term
Mark Thom [Tue, 5 Feb 2019 05:56:23 +0000 (22:56 -0700)]
add support for copying attributed variables in copy_term

7 years agoadd support for copying attributed variables in copy_term
Mark Thom [Tue, 5 Feb 2019 05:32:31 +0000 (22:32 -0700)]
add support for copying attributed variables in copy_term

7 years agoadd support for copying attributed variables in copy_term
Mark Thom [Tue, 5 Feb 2019 04:24:26 +0000 (21:24 -0700)]
add support for copying attributed variables in copy_term

7 years agouse bind to write constants to variables
Mark Thom [Mon, 4 Feb 2019 03:08:34 +0000 (20:08 -0700)]
use bind to write constants to variables

7 years agocopy attribute list in get_atts
Mark Thom [Sun, 3 Feb 2019 23:10:12 +0000 (16:10 -0700)]
copy attribute list in get_atts

7 years agointroduce a better binding scheme for attributed variables
Mark Thom [Sun, 3 Feb 2019 22:16:30 +0000 (15:16 -0700)]
introduce a better binding scheme for attributed variables

7 years agofix bug in DeleteAttribute
Mark Thom [Sun, 3 Feb 2019 02:25:12 +0000 (19:25 -0700)]
fix bug in DeleteAttribute

7 years agorecord perm vars only while resident stack frame is still up
Mark Thom [Sat, 2 Feb 2019 19:45:50 +0000 (12:45 -0700)]
record perm vars only while resident stack frame is still up

7 years agoadd Addr::AttVar to address ordering
Mark Thom [Sat, 2 Feb 2019 19:20:39 +0000 (12:20 -0700)]
add Addr::AttVar to address ordering