Re: [Scheme-reports] REPL Helmut Eller (16 Nov 2012 07:23 UTC)
Re: [Scheme-reports] REPL John Cowan (16 Nov 2012 19:10 UTC)
(missing)
Re: [Scheme-reports] REPL John Cowan (16 Nov 2012 21:07 UTC)
Re: [Scheme-reports] REPL Alex Shinn (16 Nov 2012 22:15 UTC)

Re: [Scheme-reports] REPL John Cowan 16 Nov 2012 19:05 UTC

Helmut Eller scripsit:

> 1.) 'define-library is not exported by any standard library.

That's deliberate too.  We want to make it easy to layer define-library
over any reasonable module/library system.  Some systems support entering
libraries at the REPL, but many do not.  As I noted before, we don't
want to re-create the situations that made it hard for implementers to
provide R6RS on top of their existing systems.  (Chez and Racket provide
it side-by-side instead.)

> So how are we going to make (example life) available?  The only way I
> know is to exit from Chibi Scheme, create a directory example/, move
> life.scm to example/life.sld, restart Chibi with extra command line
> options:

That's true, but it's the system Chibi chooses to deploy, because Alex
believes it's the most appropriate for Chibi's use cases (other than being
an example implementation of R7RS).  By allowing the connection between
libraries and REPLs to be implementation-specified, we allow for many
possibilities: libraries in the file system, libraries in a SQLite or
similar database, libraries statically linked into the implementation,
libraries in a .so/.dll file, libraries loaded at the REPL, libraries
managed by a built-in IDE.

--
La mayyitan ma qadirun yatabaqqa sarmadi                            John Cowan
Fa idha yaji' al-shudhdhadh fa-l-maut qad yantahi.              cowan@ccil.org
                --Abdullah al-Hazred, Al-`Azif      http://www.ccil.org/~cowan

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports