[eclipse-clp-users] Consult failure

From: Jan Burse <janburse_at_...312...>
Date: Thu, 18 Aug 2011 18:23:35 +0200
Hi

I am consulting the following file:

/**
  * Prolog code for the DCG calculator.
  */

expr(Z) --> "-", !, term(X), {Y is -X}, expr_rest(Y,Z).
expr(Y) --> term(X), expr_rest(X,Y).

expr_rest(X,T) --> "+", !, term(Y), {Z is X+Y}, expr_rest(Z,T).
expr_rest(X,T) --> "-", !, term(Y), {Z is X-Y}, expr_rest(Z,T).
expr_rest(X,X) --> [].

etc..

And I get the following error:

uncaught exception in exit_block(-127)
Abort

I am using: Version 6.0 #183 (i386_nt)

How can I track down the problem?

Best Regards
Received on Thu Aug 18 2011 - 16:41:11 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST