[asdf-devel] source file encoding

Raymond Toy toy.raymond at gmail.com
Wed Apr 11 06:34:34 UTC 2012


On 4/9/12 1:46 PM, Faré wrote:


> 
> Also, note that ASDF's encodings play a much more limited role
> than external-formats:
> they are not meant as a way to express arbitrary transformations
> an implementation may provide for a variety of input and output uses,
> but only as a way to *portably* specify an character encoding
> for the input only reading of Lisp source files
> for the purposes of LOADing of COMPILE-FILEing.

Just out of curiosity how will your :encoding handle files with, say Mac
end-of-line, which is just CR?  If the first line is a comment, and my
lisp expects LF, the entire file is just a comment, I think.

Well, I don't think there are too many files nowadays like that, but I
have run into an occasional file with CR as the end-of-line.

Ray





More information about the asdf-devel mailing list