]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Mon, 10 May 2021 17:09:59 +0000 (11:09 -0600)]
Merge pull request #936 from pmoura/fix_throw_1_control_construct_with_var_argument
Fix throw/1 control construct to throw an instantiation error when the argument is not bound
Mark Thom [Mon, 10 May 2021 17:09:44 +0000 (11:09 -0600)]
Merge pull request #939 from pmoura/fix_missing_argument_in_current_op_3_predicate_exception_term
Fix missing argument in current_op/3 predicate exception term
Mark Thom [Mon, 10 May 2021 17:09:23 +0000 (11:09 -0600)]
Merge pull request #940 from pmoura/fix_power_infix_operator_type_as_per_standard
Fix (**)/2 operator type
Mark Thom [Mon, 10 May 2021 17:09:09 +0000 (11:09 -0600)]
Merge pull request #944 from triska/master
FIXED: module qualification for between/3 in goal expansion (#941)
Mark Thom [Mon, 10 May 2021 17:08:58 +0000 (11:08 -0600)]
Merge pull request #945 from pmoura/fix_char_code_error_checking
Fix char_code/2 predicate failure instead of exception on non-integer second argument
Mark Thom [Mon, 10 May 2021 17:07:04 +0000 (11:07 -0600)]
Merge pull request #942 from pmoura/fix_op_3_predicate_operator_priority_domain_error
Fix op/3 predicate operator_priority domain error
Paulo Moura [Sun, 9 May 2021 23:37:09 +0000 (00:37 +0100)]
Fix char_code/2 predicate failure instead of exception on non-integer second argument
Markus Triska [Sun, 9 May 2021 21:54:37 +0000 (23:54 +0200)]
FIXED: module qualification for between/3 in goal expansion (#941)
Many thanks to @dcnorris for reporting this issue!
Paulo Moura [Sun, 9 May 2021 21:25:37 +0000 (22:25 +0100)]
Fix op/3 predicate operator_priority domain error
Paulo Moura [Sun, 9 May 2021 20:02:44 +0000 (21:02 +0100)]
Fix (**)/2 operator type
Paulo Moura [Sun, 9 May 2021 19:51:41 +0000 (20:51 +0100)]
Fix missing argument in current_op/3 predicate exception term
Paulo Moura [Sun, 9 May 2021 11:42:51 +0000 (12:42 +0100)]
Fix throw/1 control construct to throw an instantiation error when the argument is not bound
Mark Thom [Sat, 8 May 2021 21:09:01 +0000 (15:09 -0600)]
Merge pull request #928 from panasenco/permutation
Ported permutation/2 from SWI library(lists)
Mark Thom [Sat, 8 May 2021 21:08:13 +0000 (15:08 -0600)]
Merge pull request #933 from pmoura/add_epsilon_arithmetic_constant
Add epsilon/0 arithmetic constant
panasenco [Sat, 8 May 2021 20:32:30 +0000 (13:32 -0700)]
Moved MIT header to top of lists.pl
Paulo Moura [Sat, 8 May 2021 20:23:54 +0000 (21:23 +0100)]
Add epsilon/0 arithmetic constant
Mark Thom [Sat, 8 May 2021 18:39:28 +0000 (12:39 -0600)]
Merge pull request #932 from pmoura/fix_abolish_bug_with_no_existing_predicates
Fix abolish/1 to succeed on non-existing predicates as per standard
Paulo Moura [Sat, 8 May 2021 10:13:08 +0000 (11:13 +0100)]
Fix abolish/1 to succeed on non-existing predicates as per standard
panasenco [Fri, 7 May 2021 07:29:48 +0000 (00:29 -0700)]
Ported permutation/2 from SWI library(lists)
Mark Thom [Wed, 5 May 2021 17:16:33 +0000 (11:16 -0600)]
add missing default RevJmpBy arm to thread_choice_instr_at_to (prompted by #922)
Mark Thom [Wed, 5 May 2021 02:54:00 +0000 (20:54 -0600)]
set self.dynamic_mode to FirstOrNext::Next independently of succeed or failure in dynamic indexing instructions (prompted by #922)
Mark Thom [Tue, 4 May 2021 23:53:02 +0000 (17:53 -0600)]
correct assertz/1 bugs (#922)
Mark Thom [Mon, 3 May 2021 22:59:12 +0000 (16:59 -0600)]
fix incremental compilation and multifile bugs
Mark Thom [Sun, 2 May 2021 17:01:17 +0000 (11:01 -0600)]
import builtins to dynamically generated modules unless builtins is being defined
Mark Thom [Sat, 1 May 2021 21:29:41 +0000 (15:29 -0600)]
add read/2 and nl/1 (#896)
Mark Thom [Sat, 1 May 2021 03:58:03 +0000 (21:58 -0600)]
add user_error stream (#917)
Mark Thom [Sat, 1 May 2021 03:46:50 +0000 (21:46 -0600)]
fail on undefined multifile/discontiguous/dynamic predicates (#915)
Mark Thom [Sat, 1 May 2021 02:38:26 +0000 (20:38 -0600)]
support full paths in load_context_path/2 (#916)
Mark Thom [Sat, 1 May 2021 02:36:56 +0000 (20:36 -0600)]
fail when retracting undefined dynamic predicates (#918)
Mark Thom [Thu, 29 Apr 2021 19:11:13 +0000 (13:11 -0600)]
Merge pull request #920 from panasenco/serialize
Character logic cleanup and extension
panasenco [Thu, 29 Apr 2021 05:58:04 +0000 (22:58 -0700)]
Oops, we want to keep digits as characters in library(abnf), but as numbers in library(json).
panasenco [Thu, 29 Apr 2021 05:22:00 +0000 (22:22 -0700)]
Restructuring and improving documentation.
panasenco [Wed, 28 Apr 2021 23:09:38 +0000 (16:09 -0700)]
Replaced object() with pairs() in library(json), and made key type explicit.
panasenco [Wed, 28 Apr 2021 05:48:03 +0000 (22:48 -0700)]
Added ABNF grammar to library(charsio) as well as octet character type that it depends on. Modified library(json) to use the new ABNF grammar.
panasenco [Tue, 27 Apr 2021 18:58:39 +0000 (11:58 -0700)]
Alphabetized character logic in macros.rs and system_calls.rs
Mark Thom [Tue, 27 Apr 2021 08:00:54 +0000 (02:00 -0600)]
fix use of local skeletons to reload predicates (#919)
Mark Thom [Mon, 26 Apr 2021 19:34:04 +0000 (13:34 -0600)]
Merge pull request #913 from panasenco/json
Another thorough rewrite of library(json) to better preserve the complete set of answers as much as possible
panasenco [Sun, 25 Apr 2021 21:53:37 +0000 (14:53 -0700)]
Replaced raw_chars//1 in library(pio) with seq//1 in library(dcgs).
panasenco [Sun, 25 Apr 2021 04:29:50 +0000 (21:29 -0700)]
Added \r aw_chars//1 to library(pio). Began using setup_call_cleanup/3 as suggested by @triska.
panasenco [Fri, 23 Apr 2021 06:51:34 +0000 (23:51 -0700)]
Another thorough rewrite of library(json) to better preserve the complete set of answers as much as possible and thereby write more elegant and simple code. Some performance gains too!
Mark Thom [Thu, 22 Apr 2021 23:44:44 +0000 (17:44 -0600)]
Merge pull request #912 from panasenco/json
library(json) beta
panasenco [Thu, 22 Apr 2021 20:31:06 +0000 (13:31 -0700)]
Rewrote many parts of library(json) to leave no choicepoints when generating JSON. However, the generating performance actually worsened slightly...
panasenco [Wed, 21 Apr 2021 02:59:01 +0000 (19:59 -0700)]
Now preserving distinction between ints and floats
panasenco [Wed, 21 Apr 2021 00:26:38 +0000 (17:26 -0700)]
Seem to be generating JSON correctly and at a good speed too!
panasenco [Tue, 20 Apr 2021 23:58:33 +0000 (16:58 -0700)]
Removed CLP(Z) from library(json), achieving a 100x speedup in JSON parsing.
panasenco [Tue, 20 Apr 2021 04:46:11 +0000 (21:46 -0700)]
Fixed forward slash special case issue, added a bunch of test files that were successfully read!
panasenco [Mon, 19 Apr 2021 21:57:15 +0000 (14:57 -0700)]
Fixed defaulty representations of json_members//1 and json_elements//1
panasenco [Mon, 19 Apr 2021 06:44:10 +0000 (23:44 -0700)]
Changed formatting to match Markus Triska's as much as I can tell
panasenco [Mon, 19 Apr 2021 06:21:12 +0000 (23:21 -0700)]
Complete reordering and partial rewrite to match the official McKeeman form of the JSON specification
panasenco [Sun, 18 Apr 2021 21:59:16 +0000 (14:59 -0700)]
Added objects and type distinction based on the principal functor
panasenco [Sun, 18 Apr 2021 04:44:57 +0000 (21:44 -0700)]
Parsing and generating JSON numbers works perfectly now as far as I can tell
panasenco [Mon, 12 Apr 2021 22:15:29 +0000 (15:15 -0700)]
Began working on json library (fresh start after thinking about instantiation in terms of search strategies)
Mark Thom [Sat, 17 Apr 2021 16:34:48 +0000 (10:34 -0600)]
Merge pull request #909 from triska/master
add a new section about support and discussions
Markus Triska [Sat, 17 Apr 2021 11:42:35 +0000 (13:42 +0200)]
add a new section about support and discussions
Mark Thom [Wed, 14 Apr 2021 21:28:59 +0000 (15:28 -0600)]
Merge pull request #900 from triska/master
remove rectractall/1 (built-in since
8188e3d0cfde3f2277232a5e9ff2931873211af6 ).
Mark Thom [Wed, 14 Apr 2021 21:10:45 +0000 (15:10 -0600)]
assertz/1, asserta/1, retract/1, retractall/1 are meta-predicates (#902, #903)
Markus Triska [Wed, 14 Apr 2021 18:18:50 +0000 (20:18 +0200)]
remove rectractall/1 (built-in since
8188e3d0cfde3f2277232a5e9ff2931873211af6 ).
This resolves #899.
Mark Thom [Tue, 13 Apr 2021 03:55:58 +0000 (21:55 -0600)]
Merge pull request #897 from panasenco/master
Switched to cargo-chef for preparing the Docker image
panasenco [Mon, 12 Apr 2021 21:54:15 +0000 (14:54 -0700)]
Switched to cargo-chef for preparing the Docker image
Mark Thom [Mon, 12 Apr 2021 16:49:18 +0000 (10:49 -0600)]
add missing standard predicates (#896)
Mark Thom [Wed, 24 Mar 2021 22:56:48 +0000 (16:56 -0600)]
call '$erase_ball' before running cleanup code in setup_call_cleanup (#886)
Mark Thom [Wed, 24 Mar 2021 21:05:59 +0000 (15:05 -0600)]
stop unifying ! to free variables in control_functor/1 (#887)
Mark Thom [Tue, 23 Mar 2021 18:37:43 +0000 (12:37 -0600)]
make retract_local_clauses safe, remove warning about overwriting warning in do_not_duplicate_path_components test
Mark Thom [Tue, 23 Mar 2021 04:05:03 +0000 (22:05 -0600)]
use occurs check when enabled in UnifyValue (#885)
Mark Thom [Tue, 23 Mar 2021 00:13:01 +0000 (18:13 -0600)]
reorder declaration matching in loader.pl
Mark Thom [Mon, 22 Mar 2021 22:53:23 +0000 (16:53 -0600)]
flush loader term queue before compiling declarations, declare '/1' as dynamic before asserting
Mark Thom [Mon, 22 Mar 2021 21:27:45 +0000 (15:27 -0600)]
remove redundant retraction records for incremental compilation
Mark Thom [Mon, 22 Mar 2021 18:44:58 +0000 (12:44 -0600)]
compare the tails of partial string prefixes in compare_pstr_prefixes (#883)
Mark Thom [Sun, 21 Mar 2021 19:00:29 +0000 (13:00 -0600)]
copies only those attributes planted by the calling module
Mark Thom [Sun, 21 Mar 2021 17:58:37 +0000 (11:58 -0600)]
remove vestigial attribute goals struct field and related predicates
Mark Thom [Fri, 19 Mar 2021 22:35:50 +0000 (16:35 -0600)]
rename issue841-occure-check.pl to issue841-occurs-check.pl
Mark Thom [Fri, 19 Mar 2021 22:34:55 +0000 (16:34 -0600)]
recognize cuts in (->)/(,)/(;) calling contexts (#878)
Mark Thom [Thu, 18 Mar 2021 20:51:36 +0000 (14:51 -0600)]
Merge pull request #872 from notoria/charsio
Extend alnum, add forgotten graphic_token
Mark Thom [Thu, 18 Mar 2021 18:50:12 +0000 (12:50 -0600)]
fix findall/4 (#873)
Mark Thom [Thu, 18 Mar 2021 02:23:58 +0000 (20:23 -0600)]
restore deleted parts of number_chars/2 and number_codes/2 (#721)
Mark Thom [Thu, 18 Mar 2021 02:17:08 +0000 (20:17 -0600)]
print floating point zero as 0.0 (#859)
Mark Thom [Thu, 18 Mar 2021 01:50:41 +0000 (19:50 -0600)]
make chars callable (#713)
Mark Thom [Thu, 18 Mar 2021 01:27:53 +0000 (19:27 -0600)]
always print variable bindings before names (#865)
Mark Thom [Thu, 18 Mar 2021 00:58:33 +0000 (18:58 -0600)]
check that a load context path is a filename before potentially returning it as a string
Mark Thom [Thu, 18 Mar 2021 00:13:06 +0000 (18:13 -0600)]
findall/4 should be declared as a meta-predicate (#873)
Mark Thom [Wed, 17 Mar 2021 20:23:34 +0000 (14:23 -0600)]
issue an imcomplete reduction error if stream ends with tokens remaining to be parsed (#871)
notoria [Wed, 17 Mar 2021 19:47:09 +0000 (20:47 +0100)]
Extend alnum, add forgotten graphic_token
Mark Thom [Tue, 16 Mar 2021 19:47:30 +0000 (13:47 -0600)]
remove operators declared at user-level from files when reloading
Mark Thom [Tue, 16 Mar 2021 08:30:09 +0000 (02:30 -0600)]
clear user-level definitions when reloading a file (#455)
Mark Thom [Mon, 15 Mar 2021 20:22:54 +0000 (14:22 -0600)]
don't warn about overwriting a clause asserted to a dynamic predicate whose clauses have all been retracted (#870)
Mark Thom [Sun, 14 Mar 2021 06:22:24 +0000 (23:22 -0700)]
remove intra-module predicates from module code directory when module is being re-defined (#848)
Mark Thom [Sat, 13 Mar 2021 07:39:01 +0000 (00:39 -0700)]
Merge pull request #866 from Skgland/add_tests
Add tests for some recently closed Issues
Skgland [Thu, 11 Mar 2021 16:01:26 +0000 (17:01 +0100)]
fix expected output for syntax_error test
Skgland [Thu, 11 Mar 2021 15:16:31 +0000 (16:16 +0100)]
address problems brought up in review
Skgland [Thu, 11 Mar 2021 00:19:17 +0000 (01:19 +0100)]
add more tests
for some of the recently closed issues
Skgland [Thu, 11 Mar 2021 00:18:11 +0000 (01:18 +0100)]
improve comment
Skgland [Thu, 11 Mar 2021 00:21:20 +0000 (01:21 +0100)]
clean up tests/
give helper function a more descriptive name
Mark Thom [Wed, 10 Mar 2021 23:11:43 +0000 (16:11 -0700)]
fix is_cyclic_term (#864)
Mark Thom [Wed, 10 Mar 2021 20:52:48 +0000 (13:52 -0700)]
Merge pull request #861 from notoria/mod
Small improvement for mod in CLP(Z)
notoria [Wed, 10 Mar 2021 20:19:47 +0000 (21:19 +0100)]
Added a test for mod in CLP(Z)
Mark Thom [Tue, 9 Mar 2021 19:33:06 +0000 (12:33 -0700)]
Merge pull request #862 from notoria/xor
Implemented a propagator for xor in CLP(Z)
notoria [Sun, 7 Mar 2021 19:59:25 +0000 (20:59 +0100)]
Use functional notation in CLP(Z) for compatibility
notoria [Sun, 7 Mar 2021 17:46:47 +0000 (18:46 +0100)]
Implemented a propagator for xor in CLP(Z)
notoria [Sun, 7 Mar 2021 17:38:04 +0000 (18:38 +0100)]
Small improvement for mod in CLP(Z)
Mark Thom [Fri, 5 Mar 2021 19:57:20 +0000 (12:57 -0700)]
Merge pull request #858 from triska/master
CLP(B) correction