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
Joshua Parkin
65eb93793c
dont spawn a runtime in machine; inherit from outside with runtime::handle::Current
2023-08-03 16:22:03 +01:00
Nicolas Luck
3ff02da314
Deactivate some debugging outputs
2023-08-02 16:25:53 +02:00
Nicolas Luck
df048a4f42
Switch back to run_input_once and use duplicated write_eqs/2 without any input handling
2023-08-02 14:52:49 +02:00
Markus Triska
03f7b01109
FIXED: correct handling of ascii_punctuation in char_type/2 ( #1926 )
2023-07-27 20:22:05 +02:00
Nicolas Luck
c2658dc6da
Try triska's toplevel and add some debugging println!s.
2023-07-27 14:46:00 +02:00
Nicolas Luck
30dac8ea41
HashSet -> BTreeSet: Make parsing or results and thus tests deterministic. Add comments.
2023-07-27 12:06:03 +02:00
Nicolas Luck
0d28404aad
Add special case when parsing
2023-07-27 11:50:38 +02:00
Nicolas Luck
2f99bb025c
Add consult that works with streams / strings in library use-case
2023-07-27 11:41:52 +02:00
Mark
3b67ffa814
overwrite code indices of dynamic_undefined predicates (dynamic, multifile, discontiguous) on export
2023-07-25 13:48:34 -06: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
Fayeed Pawaskar
c89217903a
fix all the move errors
2023-07-24 10:12:14 +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
Nicolas Luck
9fd6e18d59
Dedupe machine results
2023-07-22 00:32:24 +02:00
Mark
60d9d01a55
Merge branch 'add_float_integer_part_and_float_fractional_part_standard_functions' of https://github.com/pmoura/scryer-prolog into pmoura-add_float_integer_part_and_float_fractional_part_standard_functions
2023-07-21 15:35:28 -06:00
Nicolas Luck
9e85be11fe
Fix result parsing for complex string results
2023-07-21 14:35:44 +02: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
Nicolas Luck
7c93450aa7
type QueryResult = Result<QueryResolution, String>
2023-07-20 22:31:20 +02:00
Nicolas Luck
cae32d6a00
Error handling
2023-07-20 22:23:51 +02:00
Nicolas Luck
836f6c1d5b
Don't panic when parsing results fails
2023-07-20 21:34:43 +02:00
Mark
1697cd5c7f
add log10, hyperbolic tan and inverse hyperbolic tan functions ( #1898 )
2023-07-20 12:33:51 -06:00
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
85bc544fb9
dereference TermWriteResult variables sooner in read_term_body ( #1894 )
2023-07-18 15:39:51 -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
42a50474da
remove read/{1,2} as a builtin, write read options upon EOF, throw better domain errors in parse_read_term_options/2
2023-07-17 16:45:03 -06:00