]> Repositorios git - scryer-prolog.git/log
scryer-prolog.git
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

7 years agoexpand goals in queries and queues
Mark Thom [Sat, 2 Feb 2019 06:36:51 +0000 (23:36 -0700)]
expand goals in queries and queues

7 years agofix Cargo.toml
Mark Thom [Thu, 31 Jan 2019 04:52:01 +0000 (21:52 -0700)]
fix Cargo.toml

7 years agoadd atts.pl, various fixes
Mark Thom [Thu, 31 Jan 2019 04:31:48 +0000 (21:31 -0700)]
add atts.pl, various fixes

7 years agoadd AttrVar variant to Addr
Mark Thom [Sun, 27 Jan 2019 03:46:37 +0000 (20:46 -0700)]
add AttrVar variant to Addr

7 years agoadd TrailRef type for trail
Mark Thom [Sun, 27 Jan 2019 03:06:27 +0000 (20:06 -0700)]
add TrailRef type for trail

7 years agoflatten bracketed commas in dcgs
Mark Thom [Sat, 26 Jan 2019 21:38:54 +0000 (14:38 -0700)]
flatten bracketed commas in dcgs

7 years agofix unsafe variable handling
Mark Thom [Fri, 25 Jan 2019 06:38:53 +0000 (23:38 -0700)]
fix unsafe variable handling

7 years agoupdate version number
Mark Thom [Wed, 23 Jan 2019 05:57:47 +0000 (22:57 -0700)]
update version number

7 years agofix printer
Mark Thom [Wed, 23 Jan 2019 05:57:23 +0000 (22:57 -0700)]
fix printer

7 years agoprepare for improved (?) ambiguity checks
Mark Thom [Wed, 23 Jan 2019 03:50:07 +0000 (20:50 -0700)]
prepare for improved (?) ambiguity checks

7 years agoprepare to add bracketing conditions to heap_print
Mark Thom [Mon, 21 Jan 2019 06:56:15 +0000 (23:56 -0700)]
prepare to add bracketing conditions to heap_print

7 years agoadd op info to structures and atoms
Mark Thom [Sun, 20 Jan 2019 05:27:40 +0000 (22:27 -0700)]
add op info to structures and atoms

7 years agoclone in situ compiled terms
Mark Thom [Sun, 20 Jan 2019 00:05:29 +0000 (17:05 -0700)]
clone in situ compiled terms

7 years agofix setup_hook
Mark Thom [Thu, 17 Jan 2019 03:03:59 +0000 (20:03 -0700)]
fix setup_hook

7 years agodelete trailing whitespace in compile.rs
Mark Thom [Thu, 17 Jan 2019 02:59:19 +0000 (19:59 -0700)]
delete trailing whitespace in compile.rs

7 years agodrop_expansions whenever a compilation error occurs
Mark Thom [Thu, 17 Jan 2019 02:05:07 +0000 (19:05 -0700)]
drop_expansions whenever a compilation error occurs

7 years agoclear out expansions from code_repo if code entry fails
Mark Thom [Wed, 16 Jan 2019 05:20:53 +0000 (22:20 -0700)]
clear out expansions from code_repo if code entry fails

7 years agoadd dynamic module resolution calls
Mark Thom [Sun, 6 Jan 2019 07:15:32 +0000 (00:15 -0700)]
add dynamic module resolution calls

7 years agoupdate README
Mark Thom [Sun, 6 Jan 2019 05:03:17 +0000 (22:03 -0700)]
update README

7 years agoadd module-level goal_expansion and term_expansion
Mark Thom [Sun, 6 Jan 2019 05:02:06 +0000 (22:02 -0700)]
add module-level goal_expansion and term_expansion

7 years agoadd read support for user:term_expansion and user:goal_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

7 years agodo not add expansions behind module boundaries until the modules are added
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

7 years agocorrect write_canonical/2 bug
Mark Thom [Fri, 28 Dec 2018 23:59:26 +0000 (16:59 -0700)]
correct write_canonical/2 bug

7 years agofix unification on string lists.
Mark Thom [Sun, 23 Dec 2018 19:14:03 +0000 (12:14 -0700)]
fix unification on string lists.

7 years agofix ambiguity_check
Mark Thom [Thu, 20 Dec 2018 04:25:06 +0000 (21:25 -0700)]
fix ambiguity_check

7 years agomake insert_from_end work correctly
Mark Thom [Wed, 19 Dec 2018 16:27:08 +0000 (09:27 -0700)]
make insert_from_end work correctly

7 years agocorrect space formatting in heap_print
Mark Thom [Wed, 19 Dec 2018 07:26:46 +0000 (00:26 -0700)]
correct space formatting in heap_print

7 years agoeliminate ambiguity check on structs with non-zero arity
Mark Thom [Wed, 19 Dec 2018 06:04:49 +0000 (23:04 -0700)]
eliminate ambiguity check on structs with non-zero arity

7 years agoconvert append to push_char when applicable
Mark Thom [Wed, 19 Dec 2018 04:54:18 +0000 (21:54 -0700)]
convert append to push_char when applicable

7 years agoremove lifetime on ReverseHeapVarDict
Mark Thom [Wed, 19 Dec 2018 04:42:34 +0000 (21:42 -0700)]
remove lifetime on ReverseHeapVarDict

7 years agocorrect non-termination of expand_goal and expand_term
Mark Thom [Sat, 15 Dec 2018 07:04:56 +0000 (00:04 -0700)]
correct non-termination of expand_goal and expand_term

7 years agocorrect 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

7 years agofix expand_goal and expand_term
Mark Thom [Fri, 14 Dec 2018 02:38:44 +0000 (19:38 -0700)]
fix expand_goal and expand_term

7 years agoadd expand_goal, make user:term_expansion and user:goal_expansion work properly withi...
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

7 years agoremove Option wrapper from cached_query
Mark Thom [Tue, 11 Dec 2018 04:21:15 +0000 (21:21 -0700)]
remove Option wrapper from cached_query

7 years agoadd support for user:goal_expansion
Mark Thom [Sun, 9 Dec 2018 07:48:28 +0000 (00:48 -0700)]
add support for user:goal_expansion

7 years agoremove needless result type in try_expand_term
Mark Thom [Sun, 2 Dec 2018 22:17:45 +0000 (15:17 -0700)]
remove needless result type in try_expand_term

7 years agooffset variable indexing for semi-context notations
Mark Thom [Mon, 19 Nov 2018 04:51:53 +0000 (21:51 -0700)]
offset variable indexing for semi-context notations

7 years agoupdate version number
Mark Thom [Fri, 16 Nov 2018 06:24:54 +0000 (23:24 -0700)]
update version number

7 years agofix faulty tidy_trail
Mark Thom [Fri, 16 Nov 2018 06:04:52 +0000 (23:04 -0700)]
fix faulty tidy_trail

7 years agoupdate dcgs to handle ; and ->
Mark Thom [Sun, 28 Oct 2018 02:56:23 +0000 (20:56 -0600)]
update dcgs to handle ; and ->

7 years agofix tests
Mark Thom [Thu, 25 Oct 2018 05:16:49 +0000 (23:16 -0600)]
fix tests

7 years agouse proper range notation
Mark Thom [Thu, 25 Oct 2018 01:08:27 +0000 (21:08 -0400)]
use proper range notation

7 years agostop write_canonical from printing numbervars.
Mark Thom [Wed, 24 Oct 2018 05:11:13 +0000 (23:11 -0600)]
stop write_canonical from printing numbervars.

7 years agoadd write variants
Mark Thom [Wed, 24 Oct 2018 04:53:50 +0000 (22:53 -0600)]
add write variants

7 years agomake lists parse properly when used as dcg rules
Mark Thom [Sun, 21 Oct 2018 05:37:09 +0000 (23:37 -0600)]
make lists parse properly when used as dcg rules

7 years agofix conformity errors
Mark Thom [Thu, 18 Oct 2018 04:10:00 +0000 (22:10 -0600)]
fix conformity errors

7 years agofix semicontext notation
Mark Thom [Tue, 16 Oct 2018 04:31:53 +0000 (22:31 -0600)]
fix semicontext notation

7 years agocorrectly handle anonymous variables when reading
Mark Thom [Tue, 16 Oct 2018 04:13:58 +0000 (22:13 -0600)]
correctly handle anonymous variables when reading

7 years agocorrectly handle anonymous variables when reading
Mark Thom [Tue, 16 Oct 2018 04:11:55 +0000 (22:11 -0600)]
correctly handle anonymous variables when reading

7 years agoadd expand_term/2
Mark Thom [Tue, 16 Oct 2018 02:07:48 +0000 (20:07 -0600)]
add expand_term/2

7 years agoadd expand_term/2
Mark Thom [Tue, 16 Oct 2018 02:07:22 +0000 (20:07 -0600)]
add expand_term/2

7 years agofix DCG bugs
Mark Thom [Thu, 11 Oct 2018 03:30:40 +0000 (21:30 -0600)]
fix DCG bugs

7 years agoremove needless self parameter from ambiguity_check
Mark Thom [Wed, 10 Oct 2018 01:58:15 +0000 (19:58 -0600)]
remove needless self parameter from ambiguity_check

7 years agosmooth out ambiguity check
Mark Thom [Tue, 9 Oct 2018 05:23:52 +0000 (23:23 -0600)]
smooth out ambiguity check

7 years agoadd spaces between operators when there is an ambiguity
Mark Thom [Tue, 9 Oct 2018 05:04:23 +0000 (23:04 -0600)]
add spaces between operators when there is an ambiguity

7 years agoadd 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

7 years agocorrect phrase/2
Mark Thom [Mon, 8 Oct 2018 17:02:48 +0000 (11:02 -0600)]
correct phrase/2

7 years agoadd DCG test case
Mark Thom [Mon, 8 Oct 2018 06:51:11 +0000 (00:51 -0600)]
add DCG test case

7 years agofix bug with mark_non_var
Mark Thom [Mon, 8 Oct 2018 06:34:08 +0000 (00:34 -0600)]
fix bug with mark_non_var

7 years agoterm_expansion bug fixes
Mark Thom [Sun, 7 Oct 2018 06:43:44 +0000 (00:43 -0600)]
term_expansion bug fixes

7 years agoadd preliminary support for DCGs.
Mark Thom [Sun, 7 Oct 2018 06:07:12 +0000 (00:07 -0600)]
add preliminary support for DCGs.

7 years agoremove modules properly.
Mark Thom [Sun, 7 Oct 2018 01:51:38 +0000 (19:51 -0600)]
remove modules properly.

7 years agoremove need for taking code_dir
Mark Thom [Sat, 6 Oct 2018 22:25:10 +0000 (16:25 -0600)]
remove need for taking code_dir

7 years agoremove unnecessary parameter in compile_listing
Mark Thom [Fri, 5 Oct 2018 16:17:22 +0000 (12:17 -0400)]
remove unnecessary parameter in compile_listing

7 years agocorrect code dir swapping for term_expansion
Mark Thom [Fri, 5 Oct 2018 05:04:09 +0000 (23:04 -0600)]
correct code dir swapping for term_expansion

7 years agominor modification to lco in codegen
Mark Thom [Fri, 5 Oct 2018 04:28:42 +0000 (22:28 -0600)]
minor modification to lco in codegen

7 years agoremove need to clone instructions.
Mark Thom [Fri, 5 Oct 2018 04:18:29 +0000 (22:18 -0600)]
remove need to clone instructions.

7 years agoremove need for RefCell wrapping on CodeDir
Mark Thom [Fri, 5 Oct 2018 03:43:49 +0000 (21:43 -0600)]
remove need for RefCell wrapping on CodeDir

7 years agomove atom_tbl up to Machine
Mark Thom [Fri, 5 Oct 2018 01:36:58 +0000 (19:36 -0600)]
move atom_tbl up to Machine

7 years agomark term_variables type errors with blame
Mark Thom [Thu, 4 Oct 2018 05:08:25 +0000 (23:08 -0600)]
mark term_variables type errors with blame

7 years agodivide atom tables by module
Mark Thom [Thu, 4 Oct 2018 04:56:12 +0000 (22:56 -0600)]
divide atom tables by module

7 years agoremove module name from DirEntry
Mark Thom [Wed, 3 Oct 2018 02:37:15 +0000 (20:37 -0600)]
remove module name from DirEntry

7 years agoMerge pull request #58 from triska/master
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.

7 years agoENHANCED: 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)

7 years agoMerge pull request #57 from triska/master
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

7 years agocorrect 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.

7 years agoupdate README
Mark Thom [Fri, 28 Sep 2018 04:41:41 +0000 (22:41 -0600)]
update README

7 years agoadd error.pl, correct numbervars/3
Mark Thom [Fri, 28 Sep 2018 04:40:23 +0000 (22:40 -0600)]
add error.pl, correct numbervars/3

7 years agoduplicate_term is now copy_term
Mark Thom [Thu, 27 Sep 2018 04:39:34 +0000 (22:39 -0600)]
duplicate_term is now copy_term

7 years agoMerge branch 'master' of https://github.com/mthom/rusty-wam
Mark Thom [Thu, 27 Sep 2018 01:33:40 +0000 (19:33 -0600)]
Merge branch 'master' of https://github.com/mthom/rusty-wam

7 years agomove term_variables to builtins
Mark Thom [Thu, 27 Sep 2018 01:33:27 +0000 (19:33 -0600)]
move term_variables to builtins

7 years agoadd tidy_pstr_trail to neck_cut
Mark Thom [Tue, 25 Sep 2018 12:50:19 +0000 (09:50 -0300)]
add tidy_pstr_trail to neck_cut

7 years agoadd term variables
Mark Thom [Tue, 25 Sep 2018 05:33:47 +0000 (23:33 -0600)]
add term variables

7 years agoadd more tests
Mark Thom [Tue, 25 Sep 2018 04:47:01 +0000 (22:47 -0600)]
add more tests

7 years agoadd more tests
Mark Thom [Tue, 25 Sep 2018 04:39:15 +0000 (22:39 -0600)]
add more tests

7 years agoenable backtracking on partial strings
Mark Thom [Tue, 25 Sep 2018 04:24:23 +0000 (22:24 -0600)]
enable backtracking on partial strings

7 years agomatch on partial strings through get_list
Mark Thom [Tue, 25 Sep 2018 01:53:51 +0000 (19:53 -0600)]
match on partial strings through get_list

7 years agopartial strings are still a work in progress
Mark Thom [Mon, 24 Sep 2018 12:51:09 +0000 (09:51 -0300)]
partial strings are still a work in progress

7 years agocorrect numbervars
Mark Thom [Sat, 22 Sep 2018 23:45:52 +0000 (17:45 -0600)]
correct numbervars

7 years agoMerge branch 'develop'
Mark Thom [Sat, 22 Sep 2018 23:06:43 +0000 (17:06 -0600)]
Merge branch 'develop'

7 years agoadd term_expansion basics
Mark Thom [Sat, 22 Sep 2018 23:05:19 +0000 (17:05 -0600)]
add term_expansion basics

7 years agoterm_expansion beginnings
Mark Thom [Sat, 22 Sep 2018 22:25:32 +0000 (16:25 -0600)]
term_expansion beginnings

7 years agotighten up numbervars
Mark Thom [Fri, 21 Sep 2018 13:29:07 +0000 (10:29 -0300)]
tighten up numbervars

7 years agoincorporate term_expansion phase in compilation
Mark Thom [Wed, 19 Sep 2018 04:44:03 +0000 (22:44 -0600)]
incorporate term_expansion phase in compilation

7 years agostop treating copier as trait object
Mark Thom [Wed, 19 Sep 2018 02:58:42 +0000 (20:58 -0600)]
stop treating copier as trait object

7 years agocorrect and load numbervars
Mark Thom [Tue, 18 Sep 2018 20:20:34 +0000 (17:20 -0300)]
correct and load numbervars

7 years agorestore parse_term to toplevel
Mark Thom [Tue, 18 Sep 2018 03:16:15 +0000 (21:16 -0600)]
restore parse_term to toplevel