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.

--- David A. Wheeler


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to