-
For example, with `hexagon.pl` from:
https://www.metalevel.at/magon/hexagon.pl
I got a crash when pressing `Ctrl-c` at a specific (very hard to reproduce) time:
?- magic_hexagon(Vs), labeli…
-
```console
$ WASMTIME_BACKTRACE_DETAILS=1 go test -v ./trealla
=== RUN TestInterop/custom_function
2023/07/19 18:29:51 query: interop_test(X).
2023/07/19 18:29:51 query: X is 1 + 1.
=== NAME…
-
https://github.com/vmware/differential-datalog/tree/master/test/datalog_tests/rust_api_test
-
```
ulrich@p0:~$ ulimit -v
300000
ulrich@p0:~$ /opt/gupu/scryer-prolog/target/release/scryer-prolog -f
?- use_module(library(between)).
true.
?- between(1,1000000000,I), asserta(f(1)), abolis…
-
Thank you very much for sharing these solutions!
One small thing I noticed: It seems that some of these programs would benefit from using `phrase_from_file/2` which is available in `library(pio)`. …
-
The only example from the clpb.pl doc that is out-right wrong (so far)...
```
~/trealla (devel) $ tpl
Trealla Prolog (c) Infradig 2020-2023, v2.27.20-1-gc049-dirty
?- use_module(library(clpb)).
…
-
v2.56.12
```
$ tpl
?- current_op(X,Y,&).
false. % ok, free
?- op(1,fy,&).
true.
?- op(1,yf,&).
throw(error(permission_error(create,operator,&),op/3)). % unexpected, see below
?- ha…
-
If my program looks like this:
char* print(char* p) {
return p;
}
How to use Go-wasmer to pass a string to p
pp, _ := instance.Exports.GetFunction("print")
result, _ := pp(?????)
-
Expand memory stream support (currently used by `with_output_stream` etc.) a bit to allow creating more than one and name them. This is mainly useful for the wasm stuff to capture output in a nested m…
-
Using scryer-prolog v0.9.4-12-g6f7f979c
I get
```prolog
?- split_string("8/8/8/4p1K1/2k1P3/8/8/8 b - - 0 1", " ", "\s\t\n", Args).
error(syntax_error(missing_quote),read_term/3:0).
```
…