Re: Adding to the end of the load path

2012-11-12 Thread Bruce Korb
On 11/11/12 13:51, Mark H Weaver wrote: This is certainly the cleanest solution, but there is a complication: if a user has multiple versions of Guile installed on their system, some of which look for GUILE_LOAD_PATH_SUFFIX and some which do not, there is no way for them to configure their

Re: [PATCH] Fix `get-string-n!' i/o-decoding exception behavior

2012-11-12 Thread Andreas Rottmann
Mark H Weaver m...@netris.org writes: Andreas Rottmann a.rottm...@gmx.at writes: Mark H Weaver m...@netris.org writes: Why not leave the API as-is, and in the event of an error, just raise the proper R6RS exception from within 'scm_get_string_n_x'? The problem here is that we have no easy

[PATCH] Add missing R6RS `open-file-input/output-port' procedure

2012-11-12 Thread Andreas Rottmann
* module/rnrs/io/port.scm (r6rs-open): New internal helper procedure for opening files. (open-file-input-port, open-file-output-port): Make use of `r6rs-open'. (open-file-input/output-port): Implement in terms of `r6rs-open', add to exported identifiers list. * module/rnrs.scm

Re: thoughts on native code

2012-11-12 Thread Stefan Israelsson Tampe
Thanks for your mail Noah, Yea libjit is quite interesting. But playing around with an assembler in scheme I do not want to go back to C or C++ land. The only problem is that we need a GNU scheme assembler and right now I use sbcl's assembler ported to scheme. We could perhaps use weinholts

Re: [PATCH] Add missing R6RS `open-file-input/output-port' procedure

2012-11-12 Thread Mark H Weaver
Hi Andreas, This patch looks good to me! Thanks, Mark