]> Repositorios git - scryer-prolog.git/log
scryer-prolog.git
7 years agoMerge pull request #70 from XVilka/patch-1
Mark Thom [Fri, 29 Mar 2019 12:12:26 +0000 (09:12 -0300)]
Merge pull request #70 from XVilka/patch-1

Update downcast dependency

7 years agoUpdate downcast dependency
Anton Kochkov [Fri, 29 Mar 2019 08:37:56 +0000 (16:37 +0800)]
Update downcast dependency

It wasn't able to compile with latest Rust 1.33

7 years agopass more conformity tests
Mark Thom [Fri, 29 Mar 2019 06:14:03 +0000 (00:14 -0600)]
pass more conformity tests

7 years agoadd db refs
Mark Thom [Thu, 28 Mar 2019 05:00:59 +0000 (23:00 -0600)]
add db refs

7 years agomake current_predicate/1 more general, re: #66
Mark Thom [Thu, 28 Mar 2019 03:13:36 +0000 (21:13 -0600)]
make current_predicate/1 more general, re: #66

7 years agoindex inlined and builtin clausetypes inside a BTreeMap
Mark Thom [Wed, 27 Mar 2019 03:59:50 +0000 (21:59 -0600)]
index inlined and builtin clausetypes inside a BTreeMap

7 years agoupdate readline.rs crate
Mark Thom [Sun, 24 Mar 2019 23:17:54 +0000 (17:17 -0600)]
update readline.rs crate

7 years agoupdate version number
Mark Thom [Sun, 24 Mar 2019 21:26:51 +0000 (15:26 -0600)]
update version number

7 years agobracket RHS when necessary in variable equations
Mark Thom [Sun, 24 Mar 2019 21:26:32 +0000 (15:26 -0600)]
bracket RHS when necessary in variable equations

7 years agouse updated readline
Mark Thom [Sun, 24 Mar 2019 19:18:28 +0000 (13:18 -0600)]
use updated readline

7 years agofix toplevel heap view
Mark Thom [Sun, 24 Mar 2019 16:10:43 +0000 (10:10 -0600)]
fix toplevel heap view

7 years agofix toplevel heap view
Mark Thom [Sun, 24 Mar 2019 15:55:20 +0000 (09:55 -0600)]
fix toplevel heap view

7 years agoupdate tests
Mark Thom [Sun, 24 Mar 2019 15:33:12 +0000 (09:33 -0600)]
update tests

7 years agodo a better job of printing integral floats.
Mark Thom [Sun, 24 Mar 2019 15:30:20 +0000 (09:30 -0600)]
do a better job of printing integral floats.

7 years agoprint attribute goals alongside variable bindings as a single, unified goals
Mark Thom [Sun, 24 Mar 2019 06:26:29 +0000 (00:26 -0600)]
print attribute goals alongside variable bindings as a single, unified goals

7 years agoupdate version number
Mark Thom [Sat, 23 Mar 2019 15:43:26 +0000 (09:43 -0600)]
update version number

7 years agodo not print unbound vars at toplevel
Mark Thom [Sat, 23 Mar 2019 15:43:05 +0000 (09:43 -0600)]
do not print unbound vars at toplevel

7 years agoallow toplevel answers to be passed back as queries
Mark Thom [Fri, 22 Mar 2019 16:00:07 +0000 (10:00 -0600)]
allow toplevel answers to be passed back as queries

7 years agoenable an option to disable readline
Mark Thom [Fri, 22 Mar 2019 01:46:42 +0000 (19:46 -0600)]
enable an option to disable readline

7 years agofail if attempting dynamic transaction in term and goal expansion
Mark Thom [Wed, 20 Mar 2019 03:03:37 +0000 (21:03 -0600)]
fail if attempting dynamic transaction in term and goal expansion

7 years agocorrect register threshold calculation.
Mark Thom [Mon, 18 Mar 2019 03:45:30 +0000 (21:45 -0600)]
correct register threshold calculation.

7 years agoupdate readline instructions in README, dependence on readline_rs_compat with new...
Mark Thom [Mon, 18 Mar 2019 01:22:36 +0000 (19:22 -0600)]
update readline instructions in README, dependence on readline_rs_compat with new library search paths

7 years agouse readline with better build support
Mark Thom [Mon, 18 Mar 2019 00:42:26 +0000 (18:42 -0600)]
use readline with better build support

7 years agoupdate version and README
Mark Thom [Mon, 18 Mar 2019 00:11:08 +0000 (18:11 -0600)]
update version and README

7 years agoset rl_startup_hook only once
Mark Thom [Mon, 18 Mar 2019 00:09:48 +0000 (18:09 -0600)]
set rl_startup_hook only once

7 years agomake toplevel more consistent with answers, depend on readline package without renaming.
Mark Thom [Sun, 17 Mar 2019 23:49:51 +0000 (17:49 -0600)]
make toplevel more consistent with answers, depend on readline package without renaming.

7 years agoadd rename-dependencies to Cargo manifest
Mark Thom [Sun, 17 Mar 2019 21:25:55 +0000 (15:25 -0600)]
add rename-dependencies to Cargo manifest

7 years agoupdate readline.rs version
Mark Thom [Sun, 17 Mar 2019 21:22:31 +0000 (15:22 -0600)]
update readline.rs version

7 years agouse the updated readline.rs
Mark Thom [Sun, 17 Mar 2019 21:01:10 +0000 (15:01 -0600)]
use the updated readline.rs

7 years agouse concrete version number for readline-rs
Mark Thom [Sun, 17 Mar 2019 20:51:55 +0000 (14:51 -0600)]
use concrete version number for readline-rs

7 years agouse new readline crate
Mark Thom [Sun, 17 Mar 2019 20:50:57 +0000 (14:50 -0600)]
use new readline crate

7 years agoadd halt/0
Mark Thom [Sun, 17 Mar 2019 20:38:55 +0000 (14:38 -0600)]
add halt/0

7 years agouse the readline library at toplevel
Mark Thom [Sun, 17 Mar 2019 01:12:06 +0000 (19:12 -0600)]
use the readline library at toplevel

7 years agoupdate README
Mark Thom [Wed, 13 Mar 2019 15:29:28 +0000 (09:29 -0600)]
update README

7 years agoadd non-backtrackable and backtrackable global variables
Mark Thom [Wed, 13 Mar 2019 06:16:57 +0000 (00:16 -0600)]
add non-backtrackable and backtrackable global variables

7 years agoupdate build instructions, change to the scryer-prolog crate
Mark Thom [Wed, 13 Mar 2019 06:00:24 +0000 (00:00 -0600)]
update build instructions, change to the scryer-prolog crate

7 years agoclean up bb_put/2 a bit
Mark Thom [Wed, 13 Mar 2019 04:57:02 +0000 (22:57 -0600)]
clean up bb_put/2 a bit

7 years agoupdate README: backtrackable globals
Mark Thom [Wed, 13 Mar 2019 04:39:59 +0000 (22:39 -0600)]
update README: backtrackable globals

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