]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Thu, 13 Jan 2022 05:11:59 +0000 (22:11 -0700)]
write plaintext and ciphertext directly to atoms (#1193)
Mark Thom [Thu, 13 Jan 2022 05:10:59 +0000 (22:10 -0700)]
delimit partial strings around \x0\
Mark Thom [Wed, 12 Jan 2022 23:57:12 +0000 (16:57 -0700)]
serialize call_0 test (#1206)
Mark Thom [Wed, 12 Jan 2022 22:30:24 +0000 (15:30 -0700)]
Merge pull request #1207 from triska/semi-deterministic
deterministic --> semi-deterministic
Markus Triska [Wed, 12 Jan 2022 20:58:23 +0000 (21:58 +0100)]
deterministic --> semi-deterministic
Mark Thom [Wed, 12 Jan 2022 06:01:59 +0000 (23:01 -0700)]
Merge pull request #1199 from Skgland/do_not_gen_in_src
Generate into $OUT_DIR instead of src/
Mark Thom [Wed, 12 Jan 2022 05:49:38 +0000 (22:49 -0700)]
Merge pull request #1195 from triska/rebis-dev-format-U
ADDED: format specifier ~NU, using underscores to separate groups of digits
Mark Thom [Wed, 12 Jan 2022 01:42:01 +0000 (18:42 -0700)]
evaluate floats referenced from the heap by tagged pointers (#1203)
Mark Thom [Wed, 12 Jan 2022 01:24:26 +0000 (18:24 -0700)]
execute trust instead of retry at the end of dynamic choice blocks (#1204, #1173)
Mark Thom [Tue, 11 Jan 2022 04:18:11 +0000 (21:18 -0700)]
recognize characters as separate from atoms in ''/7 (#1192)
Mark Thom [Tue, 11 Jan 2022 03:46:00 +0000 (20:46 -0700)]
render [] as empty string in AtomOrString::as_str() (#1193)
Mark Thom [Tue, 11 Jan 2022 01:34:25 +0000 (18:34 -0700)]
improve between_/3 implementation (#1186, #1191)
Mark Thom [Tue, 11 Jan 2022 01:25:30 +0000 (18:25 -0700)]
imitate Rc-style equality for TypedArenaPtr (#1190)
Mark Thom [Tue, 11 Jan 2022 00:26:57 +0000 (17:26 -0700)]
correctly print [] functors (#1189)
Skgland [Mon, 10 Jan 2022 18:59:56 +0000 (19:59 +0100)]
only rerun build.rs when something in src/ has changed
by default (when no rerun-if is emitted) build.rs is rerun if something in the package changes
Skgland [Mon, 10 Jan 2022 18:59:21 +0000 (19:59 +0100)]
don't genrate code in src/
[Outputs of Build Script](https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script) states that only files in $OUT_DIR may be modified
Markus Triska [Mon, 10 Jan 2022 16:29:45 +0000 (17:29 +0100)]
ADDED: format specifier ~NL to limit the number of digits per line
Example:
%?- format("~65L", [2^1000]).
%@ 10715086071862673209484250490600018105614048117055336074437503883_
%@ 70351051124936122493198378815695858127594672917553146825187145285_
%@ 69231404359845775746985748039345677748242309854210746050623711418_
%@ 77954182153046474983581941267398767559165543946077062914571196477_
%@
686542167660429831652624386837205668069376 true.
Markus Triska [Mon, 10 Jan 2022 15:07:05 +0000 (16:07 +0100)]
ADDED: format specifier ~NU, using underscores to separate groups of digits
Example:
?- format("~2U", [10^12]).
%@ 10_000_000_000.00 true.
Mark Thom [Mon, 10 Jan 2022 01:48:32 +0000 (18:48 -0700)]
compare bigints by value not by pointer (#1183)
Mark Thom [Sun, 9 Jan 2022 19:43:46 +0000 (12:43 -0700)]
Merge pull request #1160 from aarroyoc/add-ugraphs-library
Add ugraphs library (ported from SWI)
Mark Thom [Sun, 9 Jan 2022 19:24:39 +0000 (12:24 -0700)]
Merge pull request #1182 from aarroyoc/sockets-arity
fix socket_client_open/3
Adrián Arroyo Calle [Sun, 9 Jan 2022 16:04:54 +0000 (17:04 +0100)]
remove TLS option in socket_client_open/3
Adrián Arroyo Calle [Sat, 8 Jan 2022 22:31:32 +0000 (23:31 +0100)]
fix socket_client_open/3
Mark Thom [Sat, 8 Jan 2022 19:50:09 +0000 (12:50 -0700)]
correct heap offsets in setup_call_cleanup tests
Mark Thom [Sat, 8 Jan 2022 18:47:35 +0000 (11:47 -0700)]
unify current time as a complete string, not an atom (#1175)
Mark Thom [Sat, 8 Jan 2022 07:19:17 +0000 (00:19 -0700)]
correct read/2 arity to 2 (#1171)
Mark Thom [Sat, 8 Jan 2022 07:04:04 +0000 (00:04 -0700)]
complete handling of control operators in interpreted (,)/2 (#1172)
Adrián Arroyo Calle [Fri, 7 Jan 2022 18:28:07 +0000 (19:28 +0100)]
Minor fixes
Adrián Arroyo Calle [Fri, 7 Jan 2022 18:14:34 +0000 (19:14 +0100)]
Merge remote-tracking branch 'upstream/rebis-dev' into add-ugraphs-library
Mark Thom [Fri, 7 Jan 2022 14:52:14 +0000 (07:52 -0700)]
add version dependency information to README
Mark Thom [Fri, 7 Jan 2022 05:18:46 +0000 (22:18 -0700)]
update README.md
Mark Thom [Fri, 7 Jan 2022 04:29:15 +0000 (21:29 -0700)]
add parser tests
Mark Thom [Mon, 20 Dec 2021 01:57:57 +0000 (18:57 -0700)]
flatten the instruction dispatch loop
Mark Thom [Sat, 18 Dec 2021 05:02:20 +0000 (22:02 -0700)]
relocate most instruction routines from MachineState to Machine
Mark Thom [Thu, 16 Dec 2021 06:41:00 +0000 (23:41 -0700)]
remove LocalCodePtr::IndexingBuf
Mark Thom [Sun, 12 Dec 2021 17:58:42 +0000 (10:58 -0700)]
module-qualify incomplete goals in expand_goal/3
Mark Thom [Sun, 12 Dec 2021 06:36:19 +0000 (23:36 -0700)]
dereference first argument of (is)/2
Mark Thom [Sun, 12 Dec 2021 04:51:45 +0000 (21:51 -0700)]
generate heap_loc cells to refer to 0-arity atoms in read.rs
Mark Thom [Sat, 11 Dec 2021 23:29:26 +0000 (16:29 -0700)]
fix unify_float
Mark Thom [Sat, 11 Dec 2021 00:16:15 +0000 (17:16 -0700)]
dereference variables when looking for string terminators
Mark Thom [Fri, 10 Dec 2021 17:10:00 +0000 (10:10 -0700)]
properly iterate over read terms in MachineState::read_term
Mark Thom [Fri, 10 Dec 2021 06:23:03 +0000 (23:23 -0700)]
get test suite working
Mark Thom [Fri, 10 Dec 2021 01:15:52 +0000 (18:15 -0700)]
fix printing of CStr's
Mark Thom [Thu, 9 Dec 2021 06:20:08 +0000 (23:20 -0700)]
remove skeletons from replaced modules
Mark Thom [Wed, 8 Dec 2021 05:26:46 +0000 (22:26 -0700)]
use heap_loc to refer to 0-arity atom instead of str_loc
Mark Thom [Tue, 7 Dec 2021 01:08:38 +0000 (18:08 -0700)]
defer installation of inference counter for call_with_inference_limit til after goals expanded
Mark Thom [Sun, 5 Dec 2021 06:46:31 +0000 (23:46 -0700)]
fix bugs revealed by src/tests/builtins.pl
Mark Thom [Sat, 4 Dec 2021 23:24:34 +0000 (16:24 -0700)]
start to retune testing infrastructure
Mark Thom [Sat, 4 Dec 2021 23:24:06 +0000 (16:24 -0700)]
fix off by one bug in system_calls
Mark Thom [Sat, 4 Dec 2021 04:18:13 +0000 (21:18 -0700)]
fix bug in error_form
Mark Thom [Wed, 1 Dec 2021 05:35:38 +0000 (22:35 -0700)]
fix various partial string bugs (copying using them in arg/3)
Mark Thom [Tue, 30 Nov 2021 02:22:26 +0000 (19:22 -0700)]
detect attributed variables by properly detecting them in copy_term/2
Mark Thom [Mon, 29 Nov 2021 03:36:09 +0000 (20:36 -0700)]
upgrade rustyline
Mark Thom [Sun, 28 Nov 2021 21:53:39 +0000 (14:53 -0700)]
don't allow [] as a stream alias, restore domain error on source sink for open/{3,4}
Mark Thom [Sun, 28 Nov 2021 17:21:07 +0000 (10:21 -0700)]
keep cursor position after writing to byte stream
Mark Thom [Sat, 27 Nov 2021 05:13:52 +0000 (22:13 -0700)]
fix stream errors
Mark Thom [Fri, 26 Nov 2021 06:08:02 +0000 (23:08 -0700)]
break from loop upon successful peek in peek_char/1 and peek_code/1
Mark Thom [Thu, 25 Nov 2021 06:13:14 +0000 (23:13 -0700)]
break from loop in get_code upon successful character read
Mark Thom [Thu, 25 Nov 2021 02:11:14 +0000 (19:11 -0700)]
throw instantiation error if Arity is a variable in abolish/1
Mark Thom [Thu, 25 Nov 2021 02:00:52 +0000 (19:00 -0700)]
use strip module in retract/1, a meta-predicate
Mark Thom [Wed, 24 Nov 2021 02:59:35 +0000 (19:59 -0700)]
restore old thread_goals to fix top-level solutions printing bug
Mark Thom [Tue, 23 Nov 2021 06:06:02 +0000 (23:06 -0700)]
fix HeapPStrIter bug not recognizing nil focus if PStrLoc points to PStrOffset to CStr
Mark Thom [Mon, 22 Nov 2021 07:17:45 +0000 (00:17 -0700)]
fix number not recognizing floats
Mark Thom [Mon, 22 Nov 2021 06:09:39 +0000 (23:09 -0700)]
detect module resolved cut in interpreted (,)
Mark Thom [Sun, 21 Nov 2021 20:25:24 +0000 (13:25 -0700)]
fix arg/3 bug
Mark Thom [Sun, 21 Nov 2021 18:30:15 +0000 (11:30 -0700)]
add bounds check for attributed variables slice
Mark Thom [Sat, 20 Nov 2021 06:00:56 +0000 (23:00 -0700)]
tag DCG constructs with module names for proper resolution
Mark Thom [Fri, 19 Nov 2021 06:41:58 +0000 (23:41 -0700)]
break from get_char loop after successful char unification
Mark Thom [Thu, 18 Nov 2021 16:35:00 +0000 (09:35 -0700)]
unmark cell bits in occurs check
Mark Thom [Thu, 18 Nov 2021 06:29:23 +0000 (23:29 -0700)]
support comparison and unification of cyclic partial strings
Mark Thom [Tue, 16 Nov 2021 04:27:42 +0000 (21:27 -0700)]
greatly reduce the number of goal expansions done in callable if/then/else
Mark Thom [Sun, 14 Nov 2021 20:39:56 +0000 (13:39 -0700)]
use new heap term representation
Mark Thom [Fri, 7 Jan 2022 03:46:59 +0000 (20:46 -0700)]
Merge pull request #1156 from mthom/proper_var_list_order_issue_1121
Correct order of variables in read_term/3 equation and variable lists
Adrián Arroyo Calle [Fri, 31 Dec 2021 11:56:24 +0000 (12:56 +0100)]
Add ugraphs library
Mark Thom [Thu, 23 Dec 2021 20:31:49 +0000 (13:31 -0700)]
create read_term/3 variable lists in order of variable occurrence within terms
Mark Thom [Tue, 14 Dec 2021 02:11:04 +0000 (19:11 -0700)]
Merge pull request #1132 from triska/tls_library
ADDED: library(tls) for negotiating TLS connections
Mark Thom [Tue, 14 Dec 2021 02:09:37 +0000 (19:09 -0700)]
Merge pull request #1141 from triska/layout_text_sequence
ENHANCED: Support also comments in integers with underscores
Mark Thom [Tue, 14 Dec 2021 02:09:20 +0000 (19:09 -0700)]
Merge pull request #1142 from triska/s
report time with "s" instead of "seconds", in analogy to time(1)
Mark Thom [Tue, 14 Dec 2021 02:04:46 +0000 (19:04 -0700)]
Merge pull request #1143 from heydtn/patch-1
Fix typo in abnf_lwsp/2
Mark Thom [Tue, 14 Dec 2021 02:04:27 +0000 (19:04 -0700)]
Merge pull request #1147 from triska/pio_improvements
ENHANCED: Use newly available fast chars test from library(error).
Markus Triska [Sun, 12 Dec 2021 16:37:59 +0000 (17:37 +0100)]
ENHANCED: Use newly available fast chars test from library(error).
Nate Heydt [Thu, 9 Dec 2021 15:33:42 +0000 (07:33 -0800)]
Fix typo in abnf_lwsp/2
Markus Triska [Wed, 8 Dec 2021 15:13:54 +0000 (16:13 +0100)]
report time with "s" instead of "seconds", in analogy to time(1)
This addresses https://github.com/mthom/scryer-prolog/pull/1131#issuecomment-
988670049 .
Markus Triska [Wed, 8 Dec 2021 09:42:19 +0000 (10:42 +0100)]
ENHANCED: support full layout text sequence (also comments) in integers with underscores
Example:
?- X = 1_/**/2.
%@ X = 12.
Following the comment in https://github.com/mthom/scryer-prolog/pull/1112#issuecomment-
981540485
Markus Triska [Wed, 8 Dec 2021 09:37:37 +0000 (10:37 +0100)]
remove redundant test: '\n' is a layout char.
Mark Thom [Wed, 8 Dec 2021 03:30:00 +0000 (20:30 -0700)]
Merge pull request #1131 from triska/cpu_time
walltime --> CPU time
Markus Triska [Sun, 5 Dec 2021 16:28:00 +0000 (17:28 +0100)]
use newly available predicates from library(tls) for HTTPS
Markus Triska [Sun, 5 Dec 2021 15:46:52 +0000 (16:46 +0100)]
ADDED: library(tls), providing all predicates for TLS connections.
The currently available predicates for TLS-connections can be extended
with predicates to load and reason about certificates etc.
Markus Triska [Sun, 5 Dec 2021 16:11:38 +0000 (17:11 +0100)]
implement tls_client_negotiate/3 for explicit negotiation
Markus Triska [Sun, 5 Dec 2021 15:33:44 +0000 (16:33 +0100)]
MODIFIED: Remove TLS-related predicates from library(sockets).
They will become available in a new library, library(tls).
Markus Triska [Sat, 4 Dec 2021 23:56:16 +0000 (00:56 +0100)]
walltime --> CPU time
Mark Thom [Sat, 4 Dec 2021 23:23:43 +0000 (16:23 -0700)]
Merge pull request #1129 from triska/tls_servers
ADDED: Support for creating TLS servers.
Mark Thom [Sat, 4 Dec 2021 23:23:31 +0000 (16:23 -0700)]
Merge pull request #1124 from triska/test_corrections
several corrections to test cases
Mark Thom [Sat, 4 Dec 2021 23:23:00 +0000 (16:23 -0700)]
Merge pull request #1127 from triska/retract_correction
Correct retract/1 issues due to module qualification
Mark Thom [Sat, 4 Dec 2021 23:22:14 +0000 (16:22 -0700)]
Merge pull request #1122 from triska/better_time
ENHANCED: Better reporting for time/1.
Markus Triska [Thu, 2 Dec 2021 21:10:04 +0000 (22:10 +0100)]
ADDED: Support for creating TLS servers.
The new predicates tls_server_context/2 and tls_server_negotiate/3 can
be used to negotiate TLS connections with clients for encrypted and
authenticated communication.
Markus Triska [Wed, 1 Dec 2021 19:58:38 +0000 (20:58 +0100)]
FIXED: retract/1 issues due to module qualification
This addresses #1125.
Markus Triska [Tue, 30 Nov 2021 18:20:29 +0000 (19:20 +0100)]
ENHANCED: Better reporting for time/1.
This addresses #378.
Markus Triska [Wed, 1 Dec 2021 19:54:06 +0000 (20:54 +0100)]
use anonymous variable
Markus Triska [Wed, 1 Dec 2021 18:43:15 +0000 (19:43 +0100)]
several corrections to test cases