]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Thu, 7 Feb 2019 05:26:22 +0000 (22:26 -0700)]
add verify_attributes driver code
Mark Thom [Thu, 7 Feb 2019 05:25:41 +0000 (22:25 -0700)]
flatten CompiledQuery and CompiledFact in Code, remove CompiledQuery
Mark Thom [Wed, 6 Feb 2019 02:43:16 +0000 (19:43 -0700)]
correct misspelled AttrVar in copier.rs
Mark Thom [Tue, 5 Feb 2019 06:04:31 +0000 (23:04 -0700)]
properly copy already-copied attributed variables as shallow members of lists
Mark Thom [Tue, 5 Feb 2019 05:56:23 +0000 (22:56 -0700)]
add 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
Mark Thom [Tue, 5 Feb 2019 04:24:26 +0000 (21:24 -0700)]
add support for copying attributed variables in copy_term
Mark Thom [Mon, 4 Feb 2019 03:08:34 +0000 (20:08 -0700)]
use bind to write constants to variables
Mark Thom [Sun, 3 Feb 2019 23:10:12 +0000 (16:10 -0700)]
copy attribute list in get_atts
Mark Thom [Sun, 3 Feb 2019 22:16:30 +0000 (15:16 -0700)]
introduce a better binding scheme for attributed variables
Mark Thom [Sun, 3 Feb 2019 02:25:12 +0000 (19:25 -0700)]
fix bug in DeleteAttribute
Mark Thom [Sat, 2 Feb 2019 19:45:50 +0000 (12:45 -0700)]
record perm vars only while resident stack frame is still up
Mark Thom [Sat, 2 Feb 2019 19:20:39 +0000 (12:20 -0700)]
add Addr::AttVar to address ordering
Mark Thom [Sat, 2 Feb 2019 06:36:51 +0000 (23:36 -0700)]
expand goals in queries and queues
Mark Thom [Thu, 31 Jan 2019 04:52:01 +0000 (21:52 -0700)]
fix Cargo.toml
Mark Thom [Thu, 31 Jan 2019 04:31:48 +0000 (21:31 -0700)]
add atts.pl, various fixes
Mark Thom [Sun, 27 Jan 2019 03:46:37 +0000 (20:46 -0700)]
add AttrVar variant to Addr
Mark Thom [Sun, 27 Jan 2019 03:06:27 +0000 (20:06 -0700)]
add TrailRef type for trail
Mark Thom [Sat, 26 Jan 2019 21:38:54 +0000 (14:38 -0700)]
flatten bracketed commas in dcgs
Mark Thom [Fri, 25 Jan 2019 06:38:53 +0000 (23:38 -0700)]
fix unsafe variable handling
Mark Thom [Wed, 23 Jan 2019 05:57:47 +0000 (22:57 -0700)]
update version number
Mark Thom [Wed, 23 Jan 2019 05:57:23 +0000 (22:57 -0700)]
fix printer
Mark Thom [Wed, 23 Jan 2019 03:50:07 +0000 (20:50 -0700)]
prepare for improved (?) ambiguity checks
Mark Thom [Mon, 21 Jan 2019 06:56:15 +0000 (23:56 -0700)]
prepare to add bracketing conditions to heap_print
Mark Thom [Sun, 20 Jan 2019 05:27:40 +0000 (22:27 -0700)]
add op info to structures and atoms
Mark Thom [Sun, 20 Jan 2019 00:05:29 +0000 (17:05 -0700)]
clone in situ compiled terms
Mark Thom [Thu, 17 Jan 2019 03:03:59 +0000 (20:03 -0700)]
fix setup_hook
Mark Thom [Thu, 17 Jan 2019 02:59:19 +0000 (19:59 -0700)]
delete trailing whitespace in compile.rs
Mark Thom [Thu, 17 Jan 2019 02:05:07 +0000 (19:05 -0700)]
drop_expansions whenever a compilation error occurs
Mark Thom [Wed, 16 Jan 2019 05:20:53 +0000 (22:20 -0700)]
clear out expansions from code_repo if code entry fails
Mark Thom [Sun, 6 Jan 2019 07:15:32 +0000 (00:15 -0700)]
add dynamic module resolution calls
Mark Thom [Sun, 6 Jan 2019 05:03:17 +0000 (22:03 -0700)]
update README
Mark Thom [Sun, 6 Jan 2019 05:02:06 +0000 (22:02 -0700)]
add module-level goal_expansion and term_expansion
Mark Thom [Sun, 6 Jan 2019 02:22:38 +0000 (19:22 -0700)]
add read support for user:term_expansion and user:goal_expansion
Mark Thom [Fri, 4 Jan 2019 02:43:50 +0000 (19:43 -0700)]
do not add expansions behind module boundaries until the modules are added
Mark Thom [Fri, 28 Dec 2018 23:59:26 +0000 (16:59 -0700)]
correct write_canonical/2 bug
Mark Thom [Sun, 23 Dec 2018 19:14:03 +0000 (12:14 -0700)]
fix unification on string lists.
Mark Thom [Thu, 20 Dec 2018 04:25:06 +0000 (21:25 -0700)]
fix ambiguity_check
Mark Thom [Wed, 19 Dec 2018 16:27:08 +0000 (09:27 -0700)]
make insert_from_end work correctly
Mark Thom [Wed, 19 Dec 2018 07:26:46 +0000 (00:26 -0700)]
correct space formatting in heap_print
Mark Thom [Wed, 19 Dec 2018 06:04:49 +0000 (23:04 -0700)]
eliminate ambiguity check on structs with non-zero arity
Mark Thom [Wed, 19 Dec 2018 04:54:18 +0000 (21:54 -0700)]
convert append to push_char when applicable
Mark Thom [Wed, 19 Dec 2018 04:42:34 +0000 (21:42 -0700)]
remove lifetime on ReverseHeapVarDict
Mark Thom [Sat, 15 Dec 2018 07:04:56 +0000 (00:04 -0700)]
correct non-termination of expand_goal and expand_term
Mark Thom [Sat, 15 Dec 2018 02:10:38 +0000 (19:10 -0700)]
correct non-termination of expand_goal and expand_term
Mark Thom [Fri, 14 Dec 2018 02:38:44 +0000 (19:38 -0700)]
fix expand_goal and expand_term
Mark Thom [Wed, 12 Dec 2018 05:57:11 +0000 (22:57 -0700)]
add expand_goal, make user:term_expansion and user:goal_expansion work properly within modules
Mark Thom [Tue, 11 Dec 2018 04:21:15 +0000 (21:21 -0700)]
remove Option wrapper from cached_query
Mark Thom [Sun, 9 Dec 2018 07:48:28 +0000 (00:48 -0700)]
add support for user:goal_expansion
Mark Thom [Sun, 2 Dec 2018 22:17:45 +0000 (15:17 -0700)]
remove needless result type in try_expand_term
Mark Thom [Mon, 19 Nov 2018 04:51:53 +0000 (21:51 -0700)]
offset variable indexing for semi-context notations
Mark Thom [Fri, 16 Nov 2018 06:24:54 +0000 (23:24 -0700)]
update version number
Mark Thom [Fri, 16 Nov 2018 06:04:52 +0000 (23:04 -0700)]
fix faulty tidy_trail
Mark Thom [Sun, 28 Oct 2018 02:56:23 +0000 (20:56 -0600)]
update dcgs to handle ; and ->
Mark Thom [Thu, 25 Oct 2018 05:16:49 +0000 (23:16 -0600)]
fix tests
Mark Thom [Thu, 25 Oct 2018 01:08:27 +0000 (21:08 -0400)]
use proper range notation
Mark Thom [Wed, 24 Oct 2018 05:11:13 +0000 (23:11 -0600)]
stop write_canonical from printing numbervars.
Mark Thom [Wed, 24 Oct 2018 04:53:50 +0000 (22:53 -0600)]
add write variants
Mark Thom [Sun, 21 Oct 2018 05:37:09 +0000 (23:37 -0600)]
make lists parse properly when used as dcg rules
Mark Thom [Thu, 18 Oct 2018 04:10:00 +0000 (22:10 -0600)]
fix conformity errors
Mark Thom [Tue, 16 Oct 2018 04:31:53 +0000 (22:31 -0600)]
fix semicontext notation
Mark Thom [Tue, 16 Oct 2018 04:13:58 +0000 (22:13 -0600)]
correctly handle anonymous variables when reading
Mark Thom [Tue, 16 Oct 2018 04:11:55 +0000 (22:11 -0600)]
correctly handle anonymous variables when reading
Mark Thom [Tue, 16 Oct 2018 02:07:48 +0000 (20:07 -0600)]
add expand_term/2
Mark Thom [Tue, 16 Oct 2018 02:07:22 +0000 (20:07 -0600)]
add expand_term/2
Mark Thom [Thu, 11 Oct 2018 03:30:40 +0000 (21:30 -0600)]
fix DCG bugs
Mark Thom [Wed, 10 Oct 2018 01:58:15 +0000 (19:58 -0600)]
remove needless self parameter from ambiguity_check
Mark Thom [Tue, 9 Oct 2018 05:23:52 +0000 (23:23 -0600)]
smooth out ambiguity check
Mark Thom [Tue, 9 Oct 2018 05:04:23 +0000 (23:04 -0600)]
add spaces between operators when there is an ambiguity
Mark Thom [Tue, 9 Oct 2018 05:04:03 +0000 (23:04 -0600)]
add spaces between operators when there is an ambiguity
Mark Thom [Mon, 8 Oct 2018 17:02:48 +0000 (11:02 -0600)]
correct phrase/2
Mark Thom [Mon, 8 Oct 2018 06:51:11 +0000 (00:51 -0600)]
add DCG test case
Mark Thom [Mon, 8 Oct 2018 06:34:08 +0000 (00:34 -0600)]
fix bug with mark_non_var
Mark Thom [Sun, 7 Oct 2018 06:43:44 +0000 (00:43 -0600)]
term_expansion bug fixes
Mark Thom [Sun, 7 Oct 2018 06:07:12 +0000 (00:07 -0600)]
add preliminary support for DCGs.
Mark Thom [Sun, 7 Oct 2018 01:51:38 +0000 (19:51 -0600)]
remove modules properly.
Mark Thom [Sat, 6 Oct 2018 22:25:10 +0000 (16:25 -0600)]
remove need for taking code_dir
Mark Thom [Fri, 5 Oct 2018 16:17:22 +0000 (12:17 -0400)]
remove unnecessary parameter in compile_listing
Mark Thom [Fri, 5 Oct 2018 05:04:09 +0000 (23:04 -0600)]
correct code dir swapping for term_expansion
Mark Thom [Fri, 5 Oct 2018 04:28:42 +0000 (22:28 -0600)]
minor modification to lco in codegen
Mark Thom [Fri, 5 Oct 2018 04:18:29 +0000 (22:18 -0600)]
remove need to clone instructions.
Mark Thom [Fri, 5 Oct 2018 03:43:49 +0000 (21:43 -0600)]
remove need for RefCell wrapping on CodeDir
Mark Thom [Fri, 5 Oct 2018 01:36:58 +0000 (19:36 -0600)]
move atom_tbl up to Machine
Mark Thom [Thu, 4 Oct 2018 05:08:25 +0000 (23:08 -0600)]
mark term_variables type errors with blame
Mark Thom [Thu, 4 Oct 2018 04:56:12 +0000 (22:56 -0600)]
divide atom tables by module
Mark Thom [Wed, 3 Oct 2018 02:37:15 +0000 (20:37 -0600)]
remove module name from DirEntry
Mark Thom [Mon, 1 Oct 2018 02:55:18 +0000 (23:55 -0300)]
Merge pull request #58 from triska/master
ENHANCED: Better error handling if Type is invalid.
Markus Triska [Sun, 30 Sep 2018 21:36:02 +0000 (23:36 +0200)]
ENHANCED: Better error handling if Type is invalid.
Strictly speaking, type is currently not a type, so a domain error is
appropriate if Type is not a valid type. However, there are also other
cases where new types have been introduced in the past, and this
seems a good candidate for a new type. Let us hence use a type error.
Example:
?- can_be(listi, [a,b|Ls]).
%@ ERROR: Type error: `type' expected, found `listi' (an atom)
Mark Thom [Fri, 28 Sep 2018 16:31:07 +0000 (13:31 -0300)]
Merge pull request #57 from triska/master
correct can_be/2 for partial lists
Markus Triska [Fri, 28 Sep 2018 16:16:10 +0000 (18:16 +0200)]
correct can_be/2 for partial lists
Example:
?- can_be(list, [a,b|Ls]).
%@ true.
Mark Thom [Fri, 28 Sep 2018 04:41:41 +0000 (22:41 -0600)]
update README
Mark Thom [Fri, 28 Sep 2018 04:40:23 +0000 (22:40 -0600)]
add error.pl, correct numbervars/3
Mark Thom [Thu, 27 Sep 2018 04:39:34 +0000 (22:39 -0600)]
duplicate_term is now copy_term
Mark Thom [Thu, 27 Sep 2018 01:33:40 +0000 (19:33 -0600)]
Merge branch 'master' of https://github.com/mthom/rusty-wam
Mark Thom [Thu, 27 Sep 2018 01:33:27 +0000 (19:33 -0600)]
move term_variables to builtins
Mark Thom [Tue, 25 Sep 2018 12:50:19 +0000 (09:50 -0300)]
add tidy_pstr_trail to neck_cut
Mark Thom [Tue, 25 Sep 2018 05:33:47 +0000 (23:33 -0600)]
add term variables
Mark Thom [Tue, 25 Sep 2018 04:47:01 +0000 (22:47 -0600)]
add more tests
Mark Thom [Tue, 25 Sep 2018 04:39:15 +0000 (22:39 -0600)]
add more tests
Mark Thom [Tue, 25 Sep 2018 04:24:23 +0000 (22:24 -0600)]
enable backtracking on partial strings