mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to import R7RS libraries in the REPL


From: Amirouche Boubekki
Subject: Re: Unable to import R7RS libraries in the REPL
Date: Thu, 2 Dec 2021 10:36:48 +0100

Le mer. 1 déc. 2021 à 22:19, Chris Hanson <cph@chris-hanson.org> a écrit :
>
> A lot of these issues are fixed in source but not yet released. You can build 
> from source if necessary.
> On Dec 1, 2021, 10:46 AM -0800, Amirouche Boubekki 
> <amirouche.boubekki@gmail.com>, wrote:
>
> Also, it would be neat to have something like --library-extensions
> option to override the default `.sld` and `.scm`
>
> never mind this, the problem was on my side.
>

That thing --library-extensions is a R6RS thing, also I do not need to
rely on it anymore

I just tried mit-scheme 12.0.50 from git, find-scheme-libraries! will
not follow symlinks:

#;> scheme-live mit version
MIT/GNU Scheme 12.0.50
Copyright (C) 2020 Massachusetts Institute of Technology
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Image saved on Thursday December 2, 2021 at 9:38:13 AM
  Release 12.0.50 || SF || LIAR/x86-64

Moriturus te salutat.
#;> scheme-live mit run local/bin/hello-schemer-star
++++ basename local/bin/hello-schemer-star
+++ mktemp --tmpdir=/tmp/ hello-schemer-star.XXXXXX.scm
++ SOURCE=/tmp/hello-schemer-star.7xH57E.scm
++ tail -n +2 local/bin/hello-schemer-star
++ shift
++ mit-scheme --batch-mode --eval '(find-scheme-libraries!
"/home/amirouche/src/scheme/live/git/local/lib/")' --load
/tmp/hello-schemer-star.7xH57E.scm --eval '(exit 0)' --
;Unregistered import libraries: ((live hello))
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.

2 error>
End of input stream reached.#;>
#;> ls -larh /home/amirouche/src/scheme/live/git/local/lib
total 8,0K
lrwxrwxrwx 1 amirouche amirouche   12 nov.  29 09:18 scheme -> ../../scheme
lrwxrwxrwx 1 amirouche amirouche   10 nov.  29 09:18 live -> ../../live
drwxrwxr-x 5 amirouche amirouche 4,0K déc.   2 09:34 ..
drwxr-xr-x 2 amirouche amirouche 4,0K déc.   1 08:23 .
#;>

In the above shell run that line:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]