Email list hosting service & mailing list manager

Please draft us a Scheme API Lassi Kortela (17 Sep 2019 18:54 UTC)
Re: Please draft us a Scheme API John Cowan (17 Sep 2019 19:08 UTC)
What should Hello World be like? Lassi Kortela (18 Sep 2019 08:41 UTC)
Re: What should Hello World be like? Lassi Kortela (18 Sep 2019 08:54 UTC)
Re: What should Hello World be like? John Cowan (19 Sep 2019 01:14 UTC)
Re: What should Hello World be like? hga@xxxxxx (19 Sep 2019 02:31 UTC)
Re: What should Hello World be like? Lassi Kortela (19 Sep 2019 15:35 UTC)
Re: What should Hello World be like? Peter Bex (19 Sep 2019 18:02 UTC)
Re: What should Hello World be like? hga@xxxxxx (19 Sep 2019 22:50 UTC)
Re: What should Hello World be like? John Cowan (19 Sep 2019 19:46 UTC)
Re: What should Hello World be like? hga@xxxxxx (19 Sep 2019 20:50 UTC)
Re: What should Hello World be like? Lassi Kortela (19 Sep 2019 21:14 UTC)
Re: What should Hello World be like? Peter Bex (20 Sep 2019 07:49 UTC)
Re: What should Hello World be like? Alaric Snell-Pym (20 Sep 2019 10:55 UTC)
Re: What should Hello World be like? John Cowan (20 Sep 2019 13:25 UTC)
Re: What should Hello World be like? John Cowan (20 Sep 2019 14:04 UTC)
Re: What should Hello World be like? Lassi Kortela (23 Sep 2019 10:54 UTC)
Connection strings, and representing them as lists Lassi Kortela (23 Sep 2019 10:57 UTC)
John's Simple SQL API hga@xxxxxx (19 Sep 2019 11:38 UTC)
Re: John's Simple SQL API John Cowan (19 Sep 2019 20:28 UTC)
Re: Please draft us a Scheme API hga@xxxxxx (17 Sep 2019 19:11 UTC)
Re: Please draft us a Scheme API John Cowan (17 Sep 2019 19:12 UTC)
Re: Please draft us a Scheme API Lassi Kortela (17 Sep 2019 19:32 UTC)
Re: Please draft us a Scheme API John Cowan (17 Sep 2019 19:35 UTC)
Re: Please draft us a Scheme API Lassi Kortela (17 Sep 2019 19:27 UTC)

Re: Please draft us a Scheme API hga@xxxxxx 17 Sep 2019 19:10 UTC

Sorry if I was unclear in my previous comments, I plan on doing my
FFI and/or socket versions after/along with the Scheme-side API.  It'll
likely be 2-3 more days before I have a first version, but it's my
#1 priority after I get a couple of RL and administrivia things done.

For error representation, isn't there's a degree of commonality from
database engines we can start with, an short error code, and at least
one string?

Error handling is not something I'm thinking about yet, and probably
deserves serious discussion on the list.  E.g. what if anything should
be done by error returns, vs. raising exceptions?

- Harold

----- Original message -----
From: Lassi Kortela <xxxxxx@lassi.io>
Date: Tuesday, September 17, 2019 1:54 PM

I'd like to finish C subprocess implementations of SQLite and Postgres.
Harold is interested in doing FFI and/or socket versions.

Can someone start throwing together a spec for the Scheme-side API that
hides the differences between the database implementation techniques, so
that we'd have an increasingly lucid goal toward which to push our
implementations? I.e. at the level where the user gives a SQL string
with parameters, says to execute it and reads rows, maybe uses
transactions, etc. Also what kind of error representation and error
handling policy is used on the Scheme side.

My subprocess interface is ready to be nudged into whichever direction
the rest of you choose :) I'd like to follow other people's lead on API
design.