Anyone to help with .sls/.sld files? Artyom Bologov (30 Aug 2024 13:29 UTC)
Re: Anyone to help with .sls/.sld files? Amirouche (30 Aug 2024 14:32 UTC)
Re: Anyone to help with .sls/.sld files? Lassi Kortela (30 Aug 2024 15:45 UTC)
Re: Anyone to help with .sls/.sld files? Artyom Bologov (30 Aug 2024 18:27 UTC)
Re: Anyone to help with .sls/.sld files? Lassi Kortela (30 Aug 2024 19:29 UTC)
Re: Anyone to help with .sls/.sld files? Lassi Kortela (30 Aug 2024 20:50 UTC)
Re: Anyone to help with .sls/.sld files? Artyom Bologov (31 Aug 2024 00:03 UTC)
Re: Anyone to help with .sls/.sld files? Retropikzel (31 Aug 2024 14:17 UTC)
Re: Anyone to help with .sls/.sld files? Arthur A. Gleckler (31 Aug 2024 16:02 UTC)

Re: Anyone to help with .sls/.sld files? Retropikzel 31 Aug 2024 06:55 UTC

Hello,

I made a quick test to see how what different implementations have to
say about the code: https://git.sr.ht/~retropikzel/test-srfi-253

Here are some errors I thing could be noteworthy.
When I ran these tests the last entry in git log was this
"commit 87e812b0783b70ee7810b4584ca71b77123a845e (HEAD -> master,
origin/master, origin/HEAD)
Author: Artyom Bologov <xxxxxx@aartaka.me>
Date:   Sat Aug 31 04:05:29 2024 +0400

     253.sld: Use include-library-declarations (for cond-expand-s)"

Cyclone:

Error: Identifier is exported but not defined:
check-arg

Gambit:
*** ERROR IN "srfi/impl.scm"@45.9 -- Ill-formed library declaration

Gauche:
*** ERROR: pair required, but got #t
     While compiling "./srfi/253.sld" at line 25: (define-library (srfi
253) (export check-arg values-checked let-checked lambda-checked
define-checked ...

Skint:
run-time failure: argument is not a pair:
#f

Different implementations tend to complain about different things and it
is often usefull to test on many of them. If you are lazy like me I
have made a tool to install many of them easily on linux:
https://git.sr.ht/~retropikzel/r7rs-scheme-installer

Litte bit off topic but I assume there is a reason why issues are not
enabled on github?

On 31/08/2024 03:03, Artyom Bologov wrote:
> Hi Lassi,
>
> I ended up putting things into one file with lots (not really) of
> cond-expand-s (it's not exactly what you suggest, but it's a way too):
> https://github.com/scheme-requests-for-implementation/srfi-253/pull/16/files
>
> But thanks for the suggestions anyway—lots of things to think on and refactor!
>
> Best of luck,