Replies: 2 comments 7 replies
-
Another data point to keep in mind here is that CHICKEN's Guix package calls My recommendation is to use |
Beta Was this translation helpful? Give feedback.
-
That's a good question about using another Scheme to build (or run!) the compiler. Its probably possible, the biggest hurdle would be any C code called by the compiler (EG: |
Beta Was this translation helpful? Give feedback.
-
I'd like to package Cyclone for GNU Guix, but I asked about the bootstrapping requirements on the Guix mailing list, and this was the repsonse: https://mail.gnu.org/archive/html/guix-devel/2023-01/msg00298.html
It seems like using the machine generated C is frowned upon if not unacceptable as a bootstrapping source for Guix. So I'm wondering: is there an early version of Cyclone that can be built using only a C compiler? Or a C compiler in conjunction with another Scheme implementation? This could likely be used to build more recent releases all the way up to the most recent one.
On a related note, it seems like most of the compiler is written in Scheme. I wonder how hard it would be to actually make it so the compiler can be built using any R7RS implementation. The biggest issue to me seems like any calls to C from the compiler would need to have a native Scheme implementation, probably dispatched using
cond-expand
. Does that seem like it could be achievable?Beta Was this translation helpful? Give feedback.
All reactions