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

7 years agoadd permission error for attempts at redefining builtins, re: #50
Mark Thom [Thu, 6 Sep 2018 22:34:27 +0000 (16:34 -0600)]
add permission error for attempts at redefining builtins, re: #50

7 years agobe more efficient in (,)/3 clause, correct (;)/3
Mark Thom [Thu, 6 Sep 2018 12:32:22 +0000 (09:32 -0300)]
be more efficient in (,)/3 clause, correct (;)/3

7 years agocut properly in first (,)/3 clause
Mark Thom [Thu, 6 Sep 2018 12:16:44 +0000 (09:16 -0300)]
cut properly in first (,)/3 clause

7 years agocorrect comma implementation
Mark Thom [Thu, 6 Sep 2018 00:35:06 +0000 (18:35 -0600)]
correct comma implementation

7 years agoadd structural tests for partial strings, rename ast.rs
Mark Thom [Wed, 5 Sep 2018 03:20:45 +0000 (21:20 -0600)]
add structural tests for partial strings, rename ast.rs

7 years agothrow the correct error if the final reduce does not work, re: #49
Mark Thom [Wed, 5 Sep 2018 00:52:45 +0000 (18:52 -0600)]
throw the correct error if the final reduce does not work, re: #49

7 years agoupdate README
Mark Thom [Tue, 4 Sep 2018 04:05:59 +0000 (22:05 -0600)]
update README

7 years agoedit README, ast, remove redundant modules
Mark Thom [Tue, 4 Sep 2018 04:02:15 +0000 (22:02 -0600)]
edit README, ast, remove redundant modules

7 years agofarm parser out to a crate, remove it as a git submodule.
Mark Thom [Tue, 4 Sep 2018 03:58:07 +0000 (21:58 -0600)]
farm parser out to a crate, remove it as a git submodule.

7 years agofixes to quoted
Mark Thom [Mon, 3 Sep 2018 23:21:28 +0000 (17:21 -0600)]
fixes to quoted

7 years agocorrect print_var_eq bad ending check
Mark Thom [Mon, 3 Sep 2018 21:14:02 +0000 (15:14 -0600)]
correct print_var_eq bad ending check

7 years agoproperly handle character controls from ASCII to UTF-8, re: #48
Mark Thom [Mon, 3 Sep 2018 19:57:32 +0000 (13:57 -0600)]
properly handle character controls from ASCII to UTF-8, re: #48

7 years agoproperly handle character controls from ASCII to UTF-8, re: #48
Mark Thom [Mon, 3 Sep 2018 19:50:49 +0000 (13:50 -0600)]
properly handle character controls from ASCII to UTF-8, re: #48

7 years agodo not unify partial strings unless they coincide in memory
Mark Thom [Mon, 3 Sep 2018 06:20:01 +0000 (00:20 -0600)]
do not unify partial strings unless they coincide in memory

7 years agodistinguish eq from structural_eq on strings
Mark Thom [Mon, 3 Sep 2018 06:06:01 +0000 (00:06 -0600)]
distinguish eq from structural_eq on strings

7 years agofinalize support for partial strings
Mark Thom [Mon, 3 Sep 2018 05:32:51 +0000 (23:32 -0600)]
finalize support for partial strings

7 years agoadd info to README, prepare for partial strings
Mark Thom [Sun, 2 Sep 2018 05:04:13 +0000 (23:04 -0600)]
add info to README, prepare for partial strings

7 years agoMerge branch 'master' of http://github.com/mthom/rusty-wam
Mark Thom [Sat, 1 Sep 2018 19:48:28 +0000 (13:48 -0600)]
Merge branch 'master' of http://github.com/mthom/rusty-wam

7 years agoadd (^) as an evaluable factor, re: #39
Mark Thom [Sat, 1 Sep 2018 19:48:04 +0000 (13:48 -0600)]
add (^) as an evaluable factor, re: #39

7 years agocorrect README
Mark Thom [Fri, 31 Aug 2018 18:37:10 +0000 (15:37 -0300)]
correct README

7 years agoallow continuable strings, re: #48
Mark Thom [Fri, 31 Aug 2018 07:15:34 +0000 (01:15 -0600)]
allow continuable strings, re: #48

7 years agocorrect get_single_quoted_item, re: #48
Mark Thom [Fri, 31 Aug 2018 05:51:15 +0000 (23:51 -0600)]
correct get_single_quoted_item, re: #48

7 years agoadd slightly more descriptive syntax errors
Mark Thom [Thu, 30 Aug 2018 06:35:42 +0000 (00:35 -0600)]
add slightly more descriptive syntax errors

7 years agocorrect printing of lists when double_quotes is set to atom
Mark Thom [Thu, 30 Aug 2018 06:04:19 +0000 (00:04 -0600)]
correct printing of lists when double_quotes is set to atom

7 years agoread predicate reads piecemeal data
Mark Thom [Thu, 30 Aug 2018 05:21:31 +0000 (23:21 -0600)]
read predicate reads piecemeal data

7 years agosplit error classification
Mark Thom [Thu, 30 Aug 2018 03:20:56 +0000 (21:20 -0600)]
split error classification

7 years agochars are atoms, trailing whitespace is acceptable.
Mark Thom [Thu, 30 Aug 2018 02:14:23 +0000 (20:14 -0600)]
chars are atoms, trailing whitespace is acceptable.

7 years agocorrect README
Mark Thom [Wed, 29 Aug 2018 06:16:12 +0000 (00:16 -0600)]
correct README

7 years agocorrect README
Mark Thom [Wed, 29 Aug 2018 06:10:09 +0000 (00:10 -0600)]
correct README

7 years agoadd tests for string lists, structural equality on string lists.
Mark Thom [Wed, 29 Aug 2018 06:05:00 +0000 (00:05 -0600)]
add tests for string lists, structural equality on string lists.

7 years agouse reference to match on SyntaxError, re: #45
Mark Thom [Tue, 28 Aug 2018 17:30:50 +0000 (14:30 -0300)]
use reference to match on SyntaxError, re: #45

7 years agounify matching strings with different cursors.
Mark Thom [Mon, 27 Aug 2018 02:50:12 +0000 (20:50 -0600)]
unify matching strings with different cursors.

7 years agoadd clean errors for read, re: #45
Mark Thom [Mon, 27 Aug 2018 02:34:43 +0000 (20:34 -0600)]
add clean errors for read, re: #45

7 years agomodify structural_eq_test
Mark Thom [Sun, 26 Aug 2018 08:03:16 +0000 (02:03 -0600)]
modify structural_eq_test

7 years agoequate chars with atoms consisting of chars
Mark Thom [Sat, 25 Aug 2018 05:14:41 +0000 (23:14 -0600)]
equate chars with atoms consisting of chars

7 years agosupport strings as char lists in term comparisons
Mark Thom [Thu, 23 Aug 2018 07:24:26 +0000 (01:24 -0600)]
support strings as char lists in term comparisons

7 years agorevert is_undefined back to ref match, re: #44
Mark Thom [Thu, 23 Aug 2018 00:24:49 +0000 (18:24 -0600)]
revert is_undefined back to ref match, re: #44

7 years agoupdate to handle strings as lists.
Mark Thom [Wed, 22 Aug 2018 06:26:48 +0000 (00:26 -0600)]
update to handle strings as lists.

7 years agoadd string table, StringList representation
Mark Thom [Tue, 21 Aug 2018 06:22:16 +0000 (00:22 -0600)]
add string table, StringList representation

7 years agoadd StringList internal datatype
Mark Thom [Tue, 21 Aug 2018 04:00:38 +0000 (22:00 -0600)]
add StringList internal datatype

7 years agoadd some prolog flags, tabled strings
Mark Thom [Sun, 19 Aug 2018 00:03:28 +0000 (18:03 -0600)]
add some prolog flags, tabled strings

7 years agoget rid of dynamic lookup for
Mark Thom [Mon, 13 Aug 2018 05:17:34 +0000 (23:17 -0600)]
get rid of dynamic lookup for
$call_with_default_policy.

7 years agoget rid of dynamic lookup for
Mark Thom [Mon, 13 Aug 2018 05:14:28 +0000 (23:14 -0600)]
get rid of dynamic lookup for
$call_with_default_policy.

7 years agoprint equations lexographically by variable name, re: #26
Mark Thom [Fri, 10 Aug 2018 00:23:47 +0000 (18:23 -0600)]
print equations lexographically by variable name, re: #26

7 years agocomplete call_with_inference_limit/3
Mark Thom [Thu, 9 Aug 2018 06:31:41 +0000 (00:31 -0600)]
complete call_with_inference_limit/3

7 years agoset CWILCallPolicy count field back to private
Mark Thom [Wed, 8 Aug 2018 06:47:48 +0000 (00:47 -0600)]
set CWILCallPolicy count field back to private

7 years agoadd call_with_inference_limit/3
Mark Thom [Wed, 8 Aug 2018 06:42:57 +0000 (00:42 -0600)]
add call_with_inference_limit/3

7 years agorestore setup_call_cleanup/3
Mark Thom [Sat, 4 Aug 2018 22:12:37 +0000 (16:12 -0600)]
restore setup_call_cleanup/3