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

7 years agocorrect ordinary input
Mark Thom [Tue, 18 Sep 2018 02:24:58 +0000 (20:24 -0600)]
correct ordinary input

7 years agocorrect conformity error
Mark Thom [Sun, 16 Sep 2018 20:21:50 +0000 (14:21 -0600)]
correct conformity error

7 years agocorrect conformity errors
Mark Thom [Sun, 16 Sep 2018 20:11:21 +0000 (14:11 -0600)]
correct conformity errors

7 years agocorrect new copier bug
Mark Thom [Sun, 16 Sep 2018 16:57:14 +0000 (10:57 -0600)]
correct new copier bug

7 years agocorrect copier.
Mark Thom [Sun, 16 Sep 2018 08:32:29 +0000 (02:32 -0600)]
correct copier.

7 years agofix copier
Mark Thom [Sun, 16 Sep 2018 07:37:42 +0000 (01:37 -0600)]
fix copier

7 years agocorrect handling of .
Mark Thom [Fri, 14 Sep 2018 06:46:02 +0000 (00:46 -0600)]
correct handling of .

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

7 years agostreamline inputs.
Mark Thom [Fri, 14 Sep 2018 01:44:50 +0000 (19:44 -0600)]
streamline inputs.

7 years agoprovisional #4
Mark Thom [Thu, 13 Sep 2018 06:46:41 +0000 (00:46 -0600)]
provisional #4

7 years agoprovisional #3
Mark Thom [Thu, 13 Sep 2018 06:06:54 +0000 (00:06 -0600)]
provisional #3

7 years agoprovisional changes #2
Mark Thom [Thu, 13 Sep 2018 05:31:29 +0000 (23:31 -0600)]
provisional changes #2

7 years agoprovisional changes to module insertion
Mark Thom [Thu, 13 Sep 2018 02:46:15 +0000 (20:46 -0600)]
provisional changes to module insertion

7 years agoupdate version number for push to crates
Mark Thom [Tue, 11 Sep 2018 13:58:44 +0000 (10:58 -0300)]
update version number for push to crates

7 years agomove compile_listing body to dedicated function
Mark Thom [Tue, 11 Sep 2018 02:51:34 +0000 (20:51 -0600)]
move compile_listing body to dedicated function

7 years agomake use of read_term in the repl
Mark Thom [Mon, 10 Sep 2018 06:18:17 +0000 (00:18 -0600)]
make use of read_term in the repl

7 years agoread modifications
Mark Thom [Sun, 9 Sep 2018 01:46:34 +0000 (19:46 -0600)]
read modifications

7 years agotransition to MachineCodeIndices internally
Mark Thom [Sat, 8 Sep 2018 08:31:33 +0000 (02:31 -0600)]
transition to MachineCodeIndices internally

7 years agomake partial_string callable.
Mark Thom [Sat, 8 Sep 2018 06:40:40 +0000 (00:40 -0600)]
make partial_string callable.

7 years agoMerge branch 'master' of http://github.com/mthom/rusty-wam
Mark Thom [Thu, 6 Sep 2018 22:34:46 +0000 (16:34 -0600)]
Merge branch 'master' of http://github.com/mthom/rusty-wam