Email list hosting service & mailing list manager

scheme-script organization created Lassi Kortela (26 Jun 2021 11:15 UTC)
Re: scheme-script organization created Vladimir Nikishkin (26 Jun 2021 11:20 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 11:26 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 11:54 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 12:03 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 12:18 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 12:32 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 12:41 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 13:28 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 13:40 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 14:16 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 14:30 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 14:44 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 15:50 UTC)
Re: scheme-script organization created Marc Feeley (26 Jun 2021 12:42 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 12:46 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 13:05 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 13:36 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 13:45 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 13:58 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 14:20 UTC)
Re: scheme-script organization created Vladimir Nikishkin (26 Jun 2021 14:23 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 14:31 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 13:07 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (26 Jun 2021 19:07 UTC)
Re: scheme-script organization created Lassi Kortela (26 Jun 2021 19:26 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (27 Jun 2021 08:02 UTC)
Re: scheme-script organization created Lassi Kortela (28 Jun 2021 06:47 UTC)
Re: scheme-script organization created Marc Feeley (27 Jun 2021 16:36 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (27 Jun 2021 19:45 UTC)
Re: scheme-script organization created Marc Feeley (27 Jun 2021 21:02 UTC)
Re: scheme-script organization created Marc Nieper-Wißkirchen (28 Jun 2021 06:20 UTC)
Script semantics and declarations Lassi Kortela (28 Jun 2021 06:59 UTC)
Re: Script semantics and declarations Lassi Kortela (28 Jun 2021 07:09 UTC)
Re: Script semantics and declarations Marc Nieper-Wißkirchen (28 Jun 2021 07:20 UTC)
Re: Script semantics and declarations Lassi Kortela (28 Jun 2021 07:49 UTC)
Re: Script semantics and declarations Marc Nieper-Wißkirchen (28 Jun 2021 08:05 UTC)
Re: Script semantics and declarations Lassi Kortela (28 Jun 2021 09:16 UTC)
Re: Script semantics and declarations Marc Nieper-Wißkirchen (28 Jun 2021 09:32 UTC)
Proposed implementation Lassi Kortela (28 Jun 2021 10:28 UTC)
Re: Proposed implementation Marc Nieper-Wißkirchen (28 Jun 2021 12:10 UTC)
Re: Proposed implementation Marc Feeley (28 Jun 2021 12:15 UTC)
Re: Proposed implementation Marc Nieper-Wißkirchen (28 Jun 2021 12:21 UTC)
Re: Script semantics and declarations Marc Nieper-Wißkirchen (28 Jun 2021 20:42 UTC)
Text substitution macros and multi-file archives Lassi Kortela (28 Jun 2021 07:24 UTC)
Re: Text substitution macros and multi-file archives Marc Nieper-Wißkirchen (28 Jun 2021 07:35 UTC)
Re: Text substitution macros and multi-file archives Lassi Kortela (28 Jun 2021 08:07 UTC)
Re: Text substitution macros and multi-file archives Marc Nieper-Wißkirchen (28 Jun 2021 08:23 UTC)
Re: Text substitution macros and multi-file archives Lassi Kortela (28 Jun 2021 08:38 UTC)
Re: Text substitution macros and multi-file archives Marc Nieper-Wißkirchen (28 Jun 2021 08:52 UTC)

Re: scheme-script organization created Lassi Kortela 26 Jun 2021 19:26 UTC

> Ignoring the name issue for a moment (which can be easily fixed at any
> time), can you describe a bit more what you mean by portability above?

Sure. (I'm still thinking about; will reply when more clarity.)

> Are you looking for the creation of a new Scheme standard that
> encompasses existing standards and versions?

Not via this organization; this was created just to show that Scheme
scripting is possible and fun as it is.

If writing useful scripts gives us the clarity to design a comprehensive
scheme-script (by that or another name), so much the better.

An entire combined Scheme standard would be an enormous amount of work,
and should be pursued as a separate project. (I will enthusiastically
back anyone who tries! and may try to do some groundwork myself.)

> Or are you more looking for
> portability in the sense of Autoconf in that your script interpreter
> tries to present the script in such a way to the local Scheme
> installation so that it is execuatble by it?

"Script" and "scripting" are vague terms, but to me, the essence of that
activity is programs that are smaller and/or less polished than proper
programs; large scripts may eventually grow into conventional programs.

Since the essence of scripting is to start from nothing and gradually
hack something together, it's important to have a low barrier to entry.
Scripts are generally grown from a single source file, and when we add
more source files, we may intuitively start calling them "programs".

However, practical scripts need to use libraries to get a lot done with
little code. This to me suggests that it should be possible to declare
library dependencies in the script file itself. (Declare them in a
separate file, and the contraption starts to look more like a "project"
than just a "script".)

The most practical way to get libraries is to download third-party libs
from places like Akku, Snow-Fort, and Chicken eggs. We can write (import
...) in source files; it's not much of a stretch to permit people to
also write where those libraries can be downloaded from, and such ease
is very much in line with the spirit of scripting. Scheme could outdo
even Python and Ruby in ease of use.

Since Scheme has many standards and implementations, we have the added
complexity of dealing with them all. A lot of the groundwork for
portable Scheme scripting has already been laid via RnRS and SRFI, and
it works fine for many real tasks, given that we can say to the Scheme
implementation which RnRS we are using. (Scripts use #! lines, which
don't easily support command line flags, so some mechanism of writing
something in the source file to distinguish the RnRS edition would be
best.) We should also have a mechanism to specify which Scheme
implementations the script supports, since a non-trivial script with
even simple environmental dependencies is still unlikely to work in a
new Scheme implementation with no modifications.

Something like "autoconf on the fly" or "environment manager on the fly"
would be a reasonable way to describe the proposed script launcher. It
would look at the declarations in the script, figure out something like
"the script says it is written in R7RS and supports Chibi, Chicken, and
Gauche; we have Chicken; if we use Chicken, the script says it needs
eggs A and B, so I will have to call out to chicken-install to ensure
those eggs are installed". Finally, it would exec csi (the Chicken
interpreter) with the right command line flags to run the script.