Re: What are the long-term goals for R7RS in Chicken?

2021-07-19 Thread Marc Feeley
> On Jul 18, 2021, at 2:19 PM, Lassi Kortela wrote: > >> Note that include-files and loaded libraries are two different things, >> also in CHICKEN, libraries are usually compiled, so the .sld convention >> is only partially useful. > > The convention (observed at least by Chibi, Gambit, and Gauc

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread Lassi Kortela
But I"d like to stress the fact that run-time and compile-time file locations may differ, also things like dynamic loading vs static linking come into play. In the end this is a build issue, not necessarily a question of run-time semantics. Sorry, I was being ambiguous. The natural strategy when

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread felix . winkelmann
> The convention (observed at least by Chibi, Gambit, and Gauche) is that > each .sld file contains one define-library form. > > Gambit can compile something like hello.sld: > > (define-library (hello) >(import (scheme base)) >(begin (write-string "Hello world\n"))) > > into an object file

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread Lassi Kortela
Note that include-files and loaded libraries are two different things, also in CHICKEN, libraries are usually compiled, so the .sld convention is only partially useful. The convention (observed at least by Chibi, Gambit, and Gauche) is that each .sld file contains one define-library form. Gam

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread felix . winkelmann
> If there are few substantial differences, it would be a boon to writing > portable code if the same syntax is eventually used as for standard R7RS > libraries, and the same filename conventions are supported as other R7RS > implementations (the .sld filename extension for an R7RS library is > bec

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread John Cowan
On Sun, Jul 18, 2021 at 7:43 AM wrote: > Anybody for a "-r7rs" option that does the above? > I'd love to see that. Lassi: The fact that different Schemes have different conventions for where their library files are is actually a great convenience to me when developing SRFIs. All the actual co

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread Lassi Kortela
Currently you can switch to R7RS more by installing the egg and running csc with "-R R7RS -X R7RS", which is a mouthful, and could be abbreviated, that doesn't look to me like too much hassle. Anybody for a "-r7rs" option that does the above? +1 for an easy command line flag! Gauche and Sagitt

Re: What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread felix . winkelmann
> Is there a consensus on how deeply to integrate R7RS into Chicken? It > seems mostly R7RS compliant as it stands. Are there any technical or > ideological blockers to basing core Chicken on R7RS-small in the future? > > The main point of divergence seems to be the native module system, which > of

What are the long-term goals for R7RS in Chicken?

2021-07-18 Thread Lassi Kortela
Is there a consensus on how deeply to integrate R7RS into Chicken? It seems mostly R7RS compliant as it stands. Are there any technical or ideological blockers to basing core Chicken on R7RS-small in the future? The main point of divergence seems to be the native module system, which offers a