Markus Triska
Markus Triska
Do these issues still arise with the latest git version?
For reference, here is a sequence of steps that still lead to a crash: First, create `y.txt` as a file that contains the letter `y`: $ echo y > y.txt...
I now get, exactly as expected: $ scryer-prolog -f ?- use_module(library(time)), use_module(library(dcgs)), use_module(library(pio)). true. ?- time(phrase_from_file(seq(S), "y.txt")), must_be(chars, S). % CPU time: 0.000s error(existence_error(procedure,must_be/2),must_be/2). Thank you a lot!
@infogulch: Does it now work correctly for you? If so, then please close this issue, thank you a lot!
As of #1907, the dependency on `rug` is gone. I hope this helps with the WASM port?
Solved with #1891.
Regarding `sort/2`, please see this comment: https://github.com/mthom/scryer-prolog/commit/8a52ba09cedabae1e30c749c5094ea1751d25653#r101125012
> '$delete_all_attributes'(Term). % isn't Vs better? **Yes**, and on a general note, I would like to add that it is highly desirable to **keep as much code as possible in...
I think `findall/3` is worth discussing in a separate issue? In this way, we can focus on `copy_term/3` here, does it now work as expected and can we close this...
There is a very promising contribution with the potential to resolve what remains of this issue: #1880. Please try it and comment if possible!