Hi folks.

Every time I use phrase/2 I got a weird runtime error like this on ideone.com2:

system_error(cannot_catch_throw(error(existence_error(procedure,(:)/4),phrase/2)))

Please try this test program (https://ideone.com/Ci6jjk2):

symbol(S) --> [S].


:- initialization(main).
main :-
    phrase(symbol(_), [a]),
    halt.

Compile and run on local machine with:

gplc test.prolog
./test

It should not print anything and exit with code 0.