Re: port-filename and path canonicalization

2010-04-20 Thread Andy Wingo
Hi :) On Tue 20 Apr 2010 01:12, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> I recently added a global fluid, %file-port-name-canonicalization, which >> defaults to #f. But if it's 'absolute, the port name of a file port will >> be canonicalized to the absolute path; or, if i

Re: file names embedded in .go

2010-04-20 Thread Andy Wingo
On Mon 19 Apr 2010 23:46, Thien-Thi Nguyen writes: > () Andy Wingo > () Mon, 19 Apr 2010 16:52:09 +0200 > >Thoughts? > > It sounds complicated. > > Does the .go format support the usual ELF-y sections, like > .rodata, .data, etc? Nope, though we should just switch to use ELF at some point.

Re: file names embedded in .go

2010-04-20 Thread Thien-Thi Nguyen
() Andy Wingo () Tue, 20 Apr 2010 11:45:33 +0200 we should just switch to use ELF at some point. OK, i'll keep my ear to the ground for that. > Maybe we could just include the source > verbatim in such a section (and avoid mapping it at runtime). As Jao notes it is useful to be ab

Re: port-filename and path canonicalization

2010-04-20 Thread Thien-Thi Nguyen
() Andy Wingo () Tue, 20 Apr 2010 11:42:58 +0200 I'd be happy to have some cleaner solution, though. Do you have any ideas? Another idea is to conceptually separate "filename" to be "directory" and "basename" and have file ports maintain the directory portion as a file descriptor (or equiv

Re: file names embedded in .go

2010-04-20 Thread Thien-Thi Nguyen
() "Jose A. Ortega Ruiz" () Tue, 20 Apr 2010 02:08:32 +0200 I'm not sure if i'm understanding you correctly, but if, by source, you mean the scheme source, that'd be terrible news for tools such as Geiser. I'm not familiar w/ Geiser. What does it do? What are its restrictions? thi

srfe records in reworked match

2010-04-20 Thread stefan
Ok, I have started to code in some record recognition into the match construct I need first to make sure that I grok the intention of the syntax! Now, one can do ... * (define rtf (make-record-type "n" '(x y z))) * (define make-n (record-constructor rtf)) * (define v(make-n 1 2 3

Re: port-filename and path canonicalization

2010-04-20 Thread Ludovic Courtès
Hi, Andy Wingo writes: > On Tue 20 Apr 2010 01:12, l...@gnu.org (Ludovic Courtès) writes: > >> Andy Wingo writes: >> >>> I recently added a global fluid, %file-port-name-canonicalization, which >>> defaults to #f. But if it's 'absolute, the port name of a file port will >>> be canonicalized to

Re: file names embedded in .go

2010-04-20 Thread Jose A. Ortega Ruiz
Thien-Thi Nguyen writes: > () "Jose A. Ortega Ruiz" > () Tue, 20 Apr 2010 02:08:32 +0200 > >I'm not sure if i'm understanding you correctly, but if, by >source, you mean the scheme source, that'd be terrible news for >tools such as Geiser. > > I'm not familiar w/ Geiser. What does it