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

8 years agosystem calls preliminary
Mark Thom [Tue, 8 May 2018 04:27:58 +0000 (22:27 -0600)]
system calls preliminary

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

8 years agorecord cyclic terms in printer
Mark Thom [Mon, 7 May 2018 06:44:42 +0000 (00:44 -0600)]
record cyclic terms in printer

8 years agostreamline variable search in heap_print.rs
Mark Thom [Mon, 7 May 2018 04:10:51 +0000 (22:10 -0600)]
streamline variable search in heap_print.rs

8 years agosimplify detection of cycles in printer
Mark Thom [Sat, 5 May 2018 19:20:06 +0000 (13:20 -0600)]
simplify detection of cycles in printer

8 years agoproperly handle cyclic terms in the printer.
Mark Thom [Sat, 5 May 2018 18:33:29 +0000 (12:33 -0600)]
properly handle cyclic terms in the printer.

8 years agoadd support for printing cyclic terms.
Mark Thom [Sat, 5 May 2018 07:53:05 +0000 (01:53 -0600)]
add support for printing cyclic terms.

8 years agoadd access to HeapVarDict to the printer.
Mark Thom [Sat, 5 May 2018 02:51:02 +0000 (20:51 -0600)]
add access to HeapVarDict to the printer.

8 years agoset up heap_var Cow in heap_print.rs
Mark Thom [Sat, 5 May 2018 02:15:39 +0000 (20:15 -0600)]
set up heap_var Cow in heap_print.rs

8 years agoabbreviate names in heap_iter.rs
Mark Thom [Sat, 5 May 2018 01:43:43 +0000 (19:43 -0600)]
abbreviate names in heap_iter.rs

8 years agocorrect the copier's mishandling of cyclic lists
Mark Thom [Fri, 4 May 2018 21:44:11 +0000 (15:44 -0600)]
correct the copier's mishandling of cyclic lists

8 years agofix errors emitted by sort and keysort, add tests, add support for Max = -1 to '...
Mark Thom [Fri, 4 May 2018 02:15:45 +0000 (20:15 -0600)]
fix errors emitted by sort and keysort, add tests, add support for Max = -1 to '$skip_max_list'

8 years agoMerge branch 'master' of http://github.com/mthom/rusty-wam
Mark Thom [Thu, 3 May 2018 23:37:12 +0000 (17:37 -0600)]
Merge branch 'master' of http://github.com/mthom/rusty-wam

8 years agocorrect sort/keysort refusing []
Mark Thom [Thu, 3 May 2018 23:36:59 +0000 (17:36 -0600)]
correct sort/keysort refusing []

8 years agocorrect keysort type error (re: #34)
Mark Thom [Thu, 3 May 2018 17:52:33 +0000 (11:52 -0600)]
correct keysort type error (re: #34)

8 years agoremove unnecessary store/deref in keysort error checking
Mark Thom [Thu, 3 May 2018 03:54:09 +0000 (21:54 -0600)]
remove unnecessary store/deref in keysort error checking

8 years agofix keysort error detection bugs
Mark Thom [Thu, 3 May 2018 03:52:34 +0000 (21:52 -0600)]
fix keysort error detection bugs

8 years agoadd proper error messages for keysort and sort, (re: issues #30, #32)
Mark Thom [Thu, 3 May 2018 03:33:03 +0000 (21:33 -0600)]
add proper error messages for keysort and sort, (re: issues #30, #32)

8 years agoadd error handling appartus
Mark Thom [Thu, 3 May 2018 03:24:43 +0000 (21:24 -0600)]
add error handling appartus

8 years agoMerge branch 'master' of http://github.com/mthom/rusty-wam into develop
Mark Thom [Wed, 2 May 2018 02:36:27 +0000 (20:36 -0600)]
Merge branch 'master' of http://github.com/mthom/rusty-wam into develop

8 years agomove existence_error function in machine_st_impl.rs
Mark Thom [Wed, 2 May 2018 02:36:19 +0000 (20:36 -0600)]
move existence_error function in machine_st_impl.rs

8 years agoclean up detect_cycles
Mark Thom [Tue, 1 May 2018 16:52:57 +0000 (10:52 -0600)]
clean up detect_cycles

8 years agohandle non-list cases in '', add '' as a built-in (re: issue #31)
Mark Thom [Tue, 1 May 2018 16:11:27 +0000 (10:11 -0600)]
handle non-list cases in '', add '' as a built-in (re: issue #31)

8 years agoadd '', type checking for incomplete lists in sort, keysort (re: #17)
Mark Thom [Mon, 30 Apr 2018 03:53:20 +0000 (21:53 -0600)]
add '', type checking for incomplete lists in sort, keysort (re: #17)

8 years agoMerge branch 'master' of http://github.com/mthom/rusty-wam into develop
Mark Thom [Thu, 26 Apr 2018 00:59:59 +0000 (18:59 -0600)]
Merge branch 'master' of http://github.com/mthom/rusty-wam into develop

8 years agoskip_max_list preliminaries
Mark Thom [Thu, 26 Apr 2018 00:59:52 +0000 (18:59 -0600)]
skip_max_list preliminaries

8 years agoproperly support module imports from within modules.
Mark Thom [Wed, 25 Apr 2018 23:11:46 +0000 (17:11 -0600)]
properly support module imports from within modules.

8 years agoadd other declarations properly
Mark Thom [Wed, 25 Apr 2018 18:02:38 +0000 (12:02 -0600)]
add other declarations properly

8 years agoprotect imported predicates from being overwritten (re: issue #28)
Mark Thom [Mon, 23 Apr 2018 21:55:53 +0000 (15:55 -0600)]
protect imported predicates from being overwritten (re: issue #28)

8 years agochange modules when updating code index (re: issue #27)
Mark Thom [Fri, 20 Apr 2018 20:03:04 +0000 (14:03 -0600)]
change modules when updating code index (re: issue #27)

8 years agometacall always hashes in user (re: issue #27)
Mark Thom [Thu, 19 Apr 2018 01:32:58 +0000 (19:32 -0600)]
metacall always hashes in user (re: issue #27)

8 years agomake module code entries immutable (re: issue #27)
Mark Thom [Thu, 19 Apr 2018 01:24:32 +0000 (19:24 -0600)]
make module code entries immutable (re: issue #27)

8 years agocorrect-ish definition of reverse.
Mark Thom [Wed, 18 Apr 2018 21:34:09 +0000 (15:34 -0600)]
correct-ish definition of reverse.

8 years agocorrect-ish definition of reverse.
Mark Thom [Wed, 18 Apr 2018 21:31:36 +0000 (15:31 -0600)]
correct-ish definition of reverse.

8 years agoadd predicate existence errors for failed metacalls.
Mark Thom [Tue, 17 Apr 2018 15:26:13 +0000 (09:26 -0600)]
add predicate existence errors for failed metacalls.

8 years agoprint characters correctly
Mark Thom [Tue, 17 Apr 2018 05:25:37 +0000 (23:25 -0600)]
print characters correctly

8 years agoadd functional notation for operators.
Mark Thom [Tue, 17 Apr 2018 04:00:30 +0000 (22:00 -0600)]
add functional notation for operators.

8 years agoupdate to lexer error handling.
Mark Thom [Sat, 14 Apr 2018 21:38:06 +0000 (15:38 -0600)]
update to lexer error handling.