Mark
a5db117ef6
fix off-by-1 bug in ''/4 ( #2037 )
2023-09-23 18:32:32 -06:00
Mark
b3239abea1
throw resource error if OpenOptions raises an error of uncategorized kind ( #1375 )
2023-09-21 14:36:53 -06:00
infogulch
eecfeb2d03
Simplify maybe
...
Fix whitespace
2023-09-20 18:23:07 -05:00
Adrián Arroyo Calle
7cf6e77f4d
Use a SeedableRng to generate random numbers
2023-09-20 22:07:46 +02:00
Mark
de440a8c92
get rid of OssifiedOpDir, DBRef, simplify current_op/3
2023-09-11 15:36:15 -06:00
Fayeed Pawaskar
7f0536b51d
Merge branch 'master' into dashu-fixes
2023-09-10 21:51:02 +05:30
Fayeed Pawaskar
af76659830
Removed value method and use deref to get type
2023-09-10 21:40:22 +05:30
Rujia Liu
b6ce6b7cdb
Basic WebAssembly support with minimal Javascript API #615 . Currently 6/12 crypto functions supported. Tested in browser with all default features disabled.
2023-09-08 17:27:22 +08:00
Skgland
70b6cc8e55
fix deadlock in load_library_as_stream
2023-09-05 19:12:22 +02:00
Bennet Bleßmann
13cbff7eab
[WIP] fix deadlock in AtomTable::build_with
2023-09-05 19:12:22 +02:00
Skgland
86166dbf25
[WIP] make AtomTable concurrentcy ready
2023-09-05 19:12:22 +02:00
Skgland
b2130c2a48
run cargo fmt
2023-09-05 19:12:17 +02:00
Mark
5585e83fd6
correct inference counting over index backtracking, built-ins ( #1977 , #1987 )
2023-09-04 17:15:16 -06:00
Fayeed Pawaskar
7b921fc767
Implemented num_order methods on Integer & Rational numbers
2023-09-04 14:12:47 +05:30
Rujia Liu
4fd059be5f
32-bit system support, addressing all (at most) 4GB addresses of RAM.
2023-08-24 20:05:40 +08:00
Rujia Liu
25d4950216
Allow users to disable optional features. Needed for wasm32 support (see #615 ).
2023-08-21 10:01:24 +08:00
Markus Triska
745ddc2c87
switch to using crrl for scalar multiplication on Curve25519
...
This is to facilitate WASM compilation as currently worked on
by @rujialiu in #615 . Many thanks, and many thanks to @pornin
for crrl which makes this possible!
2023-08-20 14:43:14 +02:00
Markus Triska
03f7b01109
FIXED: correct handling of ascii_punctuation in char_type/2 ( #1926 )
2023-07-27 20:22:05 +02:00
Mark
af44d91568
Merge branch 'dashu' of https://github.com/coasys/scryer-prolog into coasys-dashu
2023-07-24 11:47:57 -06:00
Fayeed Pawaskar
7248425a76
Fixed warnings
2023-07-24 12:41:56 +05:30
Fayeed Pawaskar
0e17d6acd7
remove rug completely
2023-07-24 10:12:22 +05:30
Mark
fd7f24e265
remove EMIT_NEWLINE ( #1900 )
2023-07-22 21:42:40 -06:00
Mark
24450a8827
use ExitCode when halting so Drop is called, close terminal stream in rustyline Drop
2023-07-22 19:06:13 -06:00
Fayeed Pawaskar
b4e7000eb2
Fixed missing functionality in dashu with their methods still has some issue with move
2023-07-21 14:21:32 +05:30
Mark
dcd7360b17
add EMIT_NEWLINE to add newlines to readline input only after query terms begin to be read ( #1074 , #1897 )
2023-07-20 09:39:06 -06:00
Mark Thom
1ba040c24d
Merge pull request #1885 from mthom/setof_bagof_fixes
...
Fix group_by_variants/4 and keysort in setof/3
2023-07-18 12:35:10 -06:00
Mark
56f6772422
call write_read_term_options if read_term_from_chars/3 succeeds by unifying Term to end_of_file ( #1892 )
2023-07-18 12:15:20 -06:00
Mark
cf367024fd
add specialized EOF handling for user input ( #1892 )
2023-07-17 14:38:26 -06:00
Mark
86c90d77dd
do a better job handling EOF in read_term ( #1887 )
2023-07-17 13:19:30 -06:00
Fayeed Pawaskar
cf345d8174
wip dashu move
2023-07-17 20:40:41 +05:30
Mark
de10ccfdee
re-factor options handling of read_term into read_term_body ( #1887 )
2023-07-15 21:52:54 -06:00
Mark
65a8ce8e22
generalize simple goal detection to fix call/N test failures in logtalk test suite
2023-07-15 19:29:06 -06:00
Mark
5a7da721cd
add read_term_from_chars/3 ( #637 )
2023-07-15 11:20:20 -06:00
Mark
e95355e56e
eliminate call_with_inference_limit/3 leaks ( #1300 )
2023-07-15 10:22:23 -06:00
Mark
ff5e9a793b
add unknown flag to set_prolog_flag and current_prolog_flag
2023-07-14 19:10:10 -06:00
Mark
4163cb038d
correct peek_code/2, don't set stream position in peek functions
2023-07-13 13:37:34 -06:00
Mark
b051f39145
correct peek_byte/2 bugs ( #1882 )
2023-07-13 12:23:20 -06:00
Mark
29430ec88b
fix peek_byte/2 crash ( #1882 )
2023-07-12 16:34:11 -06:00
Mark
4fd37335f5
use lookahead to skip inapplicable clauses ( #1028 , #1502 )
2023-07-12 14:39:02 -06:00
Mark
1791bd8626
remove unsafe unwrap in put_char ( #1881 )
2023-07-12 14:24:20 -06:00
Mark
ab80c84714
Revert "add stream alias processing to atom_chars/2, atom_codes/2"
...
This reverts commit 811ff65209 .
2023-07-12 11:44:41 -06:00
Mark
b8a6882a27
refine EOF handling
2023-07-08 22:25:30 -06:00
Mark
fb8e3071f2
follow EOF action after open_parsing_stream in get_char if stream at EOF
2023-07-08 19:27:32 -06:00
Mark
067b5998ee
clarify EOF error across stream types and predicates ( #1867 , #1870 )
2023-07-08 13:38:52 -06:00
Mark
b7f77d1747
interpret '\u{0}' as end_of_file in get_char/1
2023-07-07 11:05:44 -06:00
Mark
811ff65209
add stream alias processing to atom_chars/2, atom_codes/2
2023-07-07 10:38:05 -06:00
Mark Thom
fd70d8975b
Merge pull request #1832 from aarroyoc/http-fixes
...
Multiple fixes for http libraries
2023-07-06 16:30:56 -06:00
Mark
483e4568a2
add scc_block to MachineState to avoid SCC cleanup terms being deallocated too early ( #1427 )
2023-07-06 11:20:49 -06:00
Mark
7683367c0e
throw lexer errors from devour_whitespace ( #1778 )
2023-07-04 16:09:54 -06:00
Mark
b0566e4150
use lexer to detect remaining layout in parse_number_from_string ( #1773 )
2023-06-30 17:18:10 -06:00