Peter Vincent Homeier wrote:

 > I'm trying to just load a file that was completely compiled using
 > Holmake, without any error messages, but when I try to load it I get
 > the following error message:

 > - load "specware";
 > <<HOL message: intLib loaded.  Use intLib.deprecate_int() to turn off
 > integer parsing>>
 > ! Uncaught exception:
 > ! HOL_ERR
 > ! Uncaught exception:
 > ! Fail  "load: unable to load"

 > Can anyone interpret this for me?  This file used to work a while
 > ago.  I'm using the current version of HOL5 as of Jan 24, 2008.  I
 > have no experience with this error, and don't know how to respond.

One of the object files in specware's dependency graph has caused a
dynamic error (that's the HOL_ERR), and this has in turn caused the
whole load to fail.

To debug this kind of situation, you will need to manually execute the
specware code (including all of the "open" commands, as these are what
cause dependencies to load) until you find the offending code.

For example, if specware.sml included the line

   val result = prove(``x = 3``, ALL_TAC)

then it would compile successfully with Holmake, but then when you
attempted to load it, this binding would be executed and you'd get
your HOL_ERR.

Michael.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
hol-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hol-info

Reply via email to