Am 18.11.2013 15:25, schrieb David A. Wheeler: > On Mon, 18 Nov 2013 13:23:32 +0100, "Jörg F. Wittenberger" > <joerg.wittenber...@softeyes.net> wrote: > >> In a first attempt to feed the source to some other Scheme I went ahead >> and sent it to the rscheme compiler. >> >> Doesn't work. It has the same problem as Guile: it will refuse to read >> certain #sharp syntax. >> >> **HALT** >> error: scan-token:439: #\# cannot be followed by #\: >> >> Is there a way in Guile to split source in multiple files? Would it >> acceptable to split the compatibility section out of the main code for >> sweet/kernel? Otherwise I don't see how to proceed for rscheme and >> foresee the same problem around the corner for some other Schemes too. > I presume the problem is in this guile-specific code: > (use-modules ((srfi srfi-69) > #:select > > We can't replace #:select with (symbol->keyword 'select) > unfortunately; guile won't recognize it. > > I suspect what we should do is right there temporarily > have guile use prefix keyword notation (:select), using > something like (read-set! keywords 'prefix), and then restore > whatever was there before. Then other Schemes can read it. >
If that is possible, great! No comments so far on the possibility to put these things into platform-specific files? /Jörg ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss