> But when I try to run it as a stand-alone script, following the
> directions in the Larceny User Manual (3.2. R6RS mode), it fails:
> 
>     C:\Users\User\Documents\Programmes\Scheme\Larceny>larceny -r6rs
>     -program hello
> 
>     Error: no handler for exception #<record &compound-condition>
>     Compound condition has these components:
>     #<record &error>
>     #<record &who>
>          who : "Could not locate library: "
>     #<record &assertion>
>     #<record &who>
>          who : make-message-condition
>     #<record &irritants>
>          irritants : (r6rsmode)
>     #<record &irritants>
>          irritants : ()
> 
>     Terminating program execution.
> 
>     C:\Users\User\Documents\Programmes\Scheme\Larceny>
> 
> Where have I gone wrong?

Does it work when you specify the program as hello.scm instead of
just hello?

I suspect that's what went wrong.  The error message wasn't as
helpful as it should have been because it failed to list the name
of the library/program it couldn't find; we should fix that.

Will

_______________________________________________
Larceny-users mailing list
Larceny-users@lists.ccs.neu.edu
https://lists.ccs.neu.edu/bin/listinfo/larceny-users

Reply via email to