Mark
c04f1dea48
fix off-by-1 bug in '$skip_max_list'/4 ( #2037 )
2023-09-25 16:09:04 -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
Nicolas Luck
4968fa0024
Remove debugging println!
2023-09-18 19:31:56 +02:00
Nicolas Luck
5e55625733
Remove some debug println!s
2023-09-18 19:12:50 +02:00
Nicolas Luck
65f64e428e
Construct and return exception string
2023-09-18 13:25:27 +02:00
Nicolas Luck
d2f5291412
mthom's changes fixing the panic
2023-09-18 13:01:27 +02:00
Mark
9dc1c339ef
remove unnecessary Result return type from read_term_from_heap
2023-09-15 14:10:42 -06:00
Nicolas Luck
c86304b18e
Remove lib_toplevel.pl
2023-09-15 11:01:16 +02:00
Nicolas Luck
7c83a1fb8e
Cleanup code that's not needed anymore
2023-09-15 10:48:41 +02:00
Nicolas Luck
f02728aab3
Construct QueryResult from printer output
2023-09-15 10:44:59 +02:00
Nicolas Luck
48283c4dbc
mthom's changes to run_query with backtracking
2023-09-15 10:04:11 +02:00
Nicolas Luck
6bdd7f3a3f
mthom's revised run_query with manually created printer and some cleanup
2023-09-14 22:00:50 +02:00
Nicolas Luck
5fa68e253c
lib_machine tests should not be tokio/async
2023-09-13 19:51:57 +02:00
Jacob
adb5fcf708
Upgrade dashu and some changes
2023-09-13 12:29:12 -04:00
Nicolas Luck
136463c92e
Merge branch 'master' into library-use-case
...
# Conflicts:
# Cargo.toml
# src/atom_table.rs
# src/bin/scryer-prolog.rs
# src/http.rs
# src/machine/mock_wam.rs
# src/machine/mod.rs
# src/machine/system_calls.rs
2023-09-13 18:13:14 +02:00
Nicolas Luck
ef56193c44
Use write_term_to_heap as suggest, clean up, and include error in comment
2023-09-13 17:17:02 +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
Bennet Bleßmann
01aeb7515d
[WIP] move towards lockless AtomTable
2023-09-05 19:39:46 +02: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
Fayeed Pawaskar
cfd67c8337
Added new unify methods
2023-09-04 14:12:11 +05:30
Fayeed Pawaskar
dc498d4de8
Fixed warning
2023-09-04 14:11:54 +05:30
Nicolas Luck
8a0685a3e9
Debug print value of register 6 which leads to failing heap dereference
2023-08-30 20:01:56 +02:00
Nicolas Luck
4d19c437e0
Merge branch 'master' into library-use-case
...
# Conflicts:
# Cargo.toml
# src/machine/mock_wam.rs
# src/machine/mod.rs
2023-08-30 18:12:26 +02:00
Nicolas Luck
44c274b9e9
WIP: Pure Rust impl. of run_query
2023-08-30 17:35:36 +02:00
Mark
66f6399b8a
refine is/2 compilation so errors are thrown when expected without needlessly allocating ( #1974 , #1984 )
2023-08-29 16:42:23 -06:00
Nicolas Luck
77394ba914
Remove debug println!s
2023-08-24 19:15:41 +02:00
Nicolas Luck
c25888288a
Fix parsing of floats
2023-08-24 18:10:47 +02:00
Rujia Liu
4fd059be5f
32-bit system support, addressing all (at most) 4GB addresses of RAM.
2023-08-24 20:05:40 +08:00
Nicolas Luck
7e97f16f41
Fix list result parsing
2023-08-22 22:46:00 +02:00
Rujia Liu
25d4950216
Allow users to disable optional features. Needed for wasm32 support (see #615 ).
2023-08-21 10:01:24 +08:00
Mark Thom
5aa1521819
Merge pull request #1968 from rujialiu/atom-64bit
...
Make Atom 64-bit regardless of architecture
2023-08-20 11:50:58 -06: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
Rujia Liu
f6d3b2f896
Make Atom 64-bit regardless of architecture
2023-08-20 19:43:13 +08:00
Fayeed Pawaskar
72ceceb7ae
Updated hyper to 1.0.0-rc.4
2023-08-08 16:20:49 +05:30
Nicolas Luck
cf63b588bc
Ignore stress test because it fails on windows
2023-08-07 18:41:08 +02:00
Nicolas Luck
cc04872933
Merge branch 'master' into library-use-case
2023-08-07 16:42:48 +02:00
Mark
fad363e64a
shed CodeIndex for control predicates in disjuncts.rs ( #1791 )
2023-08-06 01:26:01 -06:00
Mark
094cf2ac5d
retract discontiguous non-multifile predicates between consultations ( #1202 , #1058 , #1585 )
2023-08-05 17:42:33 -06:00
Nicolas Luck
48a4835819
Merge branch 'master' into library-use-case
...
# Conflicts:
# Cargo.lock
# Cargo.toml
# src/bin/scryer-prolog.rs
# src/loader.pl
# src/machine/mock_wam.rs
# src/machine/mod.rs
# src/machine/system_calls.rs
2023-08-03 20:16:32 +02:00
Nicolas Luck
3cf3c0ea99
Integration stress test showing Machine blocking on query
2023-08-03 19:51:12 +02:00