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

7 years agofail on parse error invoked by read/1
Mark Thom [Sat, 4 Aug 2018 20:56:38 +0000 (14:56 -0600)]
fail on parse error invoked by read/1

7 years agoadd proceed to inlined instructions in tail position
Mark Thom [Tue, 31 Jul 2018 21:14:28 +0000 (15:14 -0600)]
add proceed to inlined instructions in tail position

7 years agorealize full cheney in copier.rs
Mark Thom [Mon, 30 Jul 2018 00:38:26 +0000 (18:38 -0600)]
realize full cheney in copier.rs

7 years agopreliminary read support
Mark Thom [Wed, 25 Jul 2018 23:15:36 +0000 (17:15 -0600)]
preliminary read support

7 years agopreliminary read support
Mark Thom [Wed, 25 Jul 2018 23:12:07 +0000 (17:12 -0600)]
preliminary read support

7 years agoadd numbered vars to writeq
Mark Thom [Tue, 17 Jul 2018 02:12:50 +0000 (20:12 -0600)]
add numbered vars to writeq

7 years agomove print_constant logic to heap_print.rs
Mark Thom [Tue, 17 Jul 2018 01:06:27 +0000 (19:06 -0600)]
move print_constant logic to heap_print.rs

7 years agoadd support for quoted atoms to writeq
Mark Thom [Sun, 15 Jul 2018 23:54:37 +0000 (17:54 -0600)]
add support for quoted atoms to writeq

7 years agoupdate README
Mark Thom [Thu, 12 Jul 2018 06:14:14 +0000 (00:14 -0600)]
update README

7 years agoadd tests for module resolution operator, README documentation.
Mark Thom [Mon, 9 Jul 2018 01:49:15 +0000 (19:49 -0600)]
add tests for module resolution operator, README documentation.

7 years agofinalize the module resolution operator.
Mark Thom [Sun, 8 Jul 2018 21:21:09 +0000 (15:21 -0600)]
finalize the module resolution operator.

7 years agoinclude builtins implicitly in every module.
Mark Thom [Thu, 5 Jul 2018 05:25:55 +0000 (23:25 -0600)]
include builtins implicitly in every module.

7 years agocomplete trimdown of listing compilation.
Mark Thom [Mon, 2 Jul 2018 00:14:45 +0000 (18:14 -0600)]
complete trimdown of listing compilation.

7 years agoprepare module code
Mark Thom [Mon, 25 Jun 2018 06:21:33 +0000 (00:21 -0600)]
prepare module code

7 years agoget rid of LocalMachineCodeIndex
Mark Thom [Mon, 25 Jun 2018 05:33:04 +0000 (23:33 -0600)]
get rid of LocalMachineCodeIndex

7 years agoget rid of LocalMachineCodeIndex
Mark Thom [Mon, 25 Jun 2018 05:32:50 +0000 (23:32 -0600)]
get rid of LocalMachineCodeIndex

7 years agoprepare for changes to relocation scheme
Mark Thom [Tue, 19 Jun 2018 03:28:22 +0000 (21:28 -0600)]
prepare for changes to relocation scheme

7 years agoprepare for updating the code_dir with each new predicate
Mark Thom [Sun, 17 Jun 2018 05:36:22 +0000 (23:36 -0600)]
prepare for updating the code_dir with each new predicate

8 years agoreorder print_constant comments for unsupported escape characters
Mark Thom [Tue, 29 May 2018 02:30:13 +0000 (20:30 -0600)]
reorder print_constant comments for unsupported escape characters

8 years agoprint chars somewhat appropriately.
Mark Thom [Tue, 29 May 2018 02:19:52 +0000 (20:19 -0600)]
print chars somewhat appropriately.

8 years agohacky workaround
Mark Thom [Tue, 29 May 2018 02:07:34 +0000 (20:07 -0600)]
hacky workaround

8 years agoget rid of spurious warning, add type error for skip_max_list
Mark Thom [Mon, 21 May 2018 22:20:08 +0000 (16:20 -0600)]
get rid of spurious warning, add type error for skip_max_list

8 years agofix offsetting of heap in existence errors
Mark Thom [Sun, 20 May 2018 22:26:52 +0000 (16:26 -0600)]
fix offsetting of heap in existence errors

8 years agoadd instantiation error to skip_max_list
Mark Thom [Sun, 20 May 2018 18:51:21 +0000 (12:51 -0600)]
add instantiation error to skip_max_list

8 years agocorrect for use in earlier releases of rust.
Mark Thom [Thu, 17 May 2018 19:14:38 +0000 (13:14 -0600)]
correct for use in earlier releases of rust.

8 years agoprint certain atoms in single quotes.
Mark Thom [Thu, 17 May 2018 02:34:53 +0000 (20:34 -0600)]
print certain atoms in single quotes.

8 years agouse lexer macros.
Mark Thom [Thu, 17 May 2018 02:17:00 +0000 (20:17 -0600)]
use lexer macros.

8 years agoremove no longer present items from predicate list
Mark Thom [Wed, 16 May 2018 04:51:34 +0000 (22:51 -0600)]
remove no longer present items from predicate list

8 years agoMerge branch 'develop'
Mark Thom [Wed, 16 May 2018 04:48:37 +0000 (22:48 -0600)]
Merge branch 'develop'

8 years agomajor refactor
Mark Thom [Wed, 16 May 2018 04:47:36 +0000 (22:47 -0600)]
major refactor

8 years agomove SGC and call inference instructions over to SystemClauseType
Mark Thom [Tue, 15 May 2018 06:23:42 +0000 (00:23 -0600)]
move SGC and call inference instructions over to SystemClauseType

8 years agoremove IsClause
Mark Thom [Mon, 14 May 2018 22:43:49 +0000 (16:43 -0600)]
remove IsClause

8 years agoadd (=..)/2, arg/3
Mark Thom [Sun, 13 May 2018 23:02:33 +0000 (17:02 -0600)]
add (=..)/2, arg/3

8 years agoswitch to machine implemented arg
Mark Thom [Sun, 13 May 2018 20:55:44 +0000 (14:55 -0600)]
switch to machine implemented arg

8 years agoparse the list functor
Mark Thom [Sun, 13 May 2018 20:10:48 +0000 (14:10 -0600)]
parse the list functor

8 years agoparse negative numbers properly, handle length errors and failures properly.
Mark Thom [Sun, 13 May 2018 00:23:57 +0000 (18:23 -0600)]
parse negative numbers properly, handle length errors and failures properly.

8 years agocorrect faulty bind (two tests now fail: conjunctive_queries and lists)
Mark Thom [Sat, 12 May 2018 21:51:20 +0000 (15:51 -0600)]
correct faulty bind (two tests now fail: conjunctive_queries and lists)

8 years agoadd arg
Mark Thom [Sat, 12 May 2018 07:21:31 +0000 (01:21 -0600)]
add arg

8 years agoadd support for callable if-then and disjunct
Mark Thom [Sat, 12 May 2018 06:30:34 +0000 (00:30 -0600)]
add support for callable if-then and disjunct

8 years agothrow exception when call-ing a system instruction.
Mark Thom [Fri, 11 May 2018 05:08:56 +0000 (23:08 -0600)]
throw exception when call-ing a system instruction.

8 years agoport remaining builtins to SystemClauseType
Mark Thom [Fri, 11 May 2018 04:40:01 +0000 (22:40 -0600)]
port remaining builtins to SystemClauseType

8 years agomake system calls exempt from call policy.
Mark Thom [Fri, 11 May 2018 04:24:15 +0000 (22:24 -0600)]
make system calls exempt from call policy.

8 years agoadd more tests that pass.
Mark Thom [Fri, 11 May 2018 01:47:53 +0000 (19:47 -0600)]
add more tests that pass.

8 years agoadd catch/throw support, make exceptions and arithmetic tests pass.
Mark Thom [Thu, 10 May 2018 07:43:36 +0000 (01:43 -0600)]
add catch/throw support, make exceptions and arithmetic tests pass.

8 years agoeliminate need for embedded, handwritten WAM code.
Mark Thom [Thu, 10 May 2018 04:58:23 +0000 (22:58 -0600)]
eliminate need for embedded, handwritten WAM code.

8 years agoshift to builtins
Mark Thom [Wed, 9 May 2018 04:38:49 +0000 (22:38 -0600)]
shift to builtins

8 years agoadd system call preliminaries
Mark Thom [Tue, 8 May 2018 04:29:02 +0000 (22:29 -0600)]
add system call preliminaries