[armedbear-devel] Design for better source location

Tobias C. Rittweiler tcr at freebits.de
Thu Apr 15 13:46:00 UTC 2010


Alan Ruttenberg <alanruttenberg at gmail.com>
writes:

> On Thu, Apr 15, 2010 at 9:20 AM, Mark Evenson <evenson at panix.com> wrote:
>> I added the [gist of Tobias' analysis in the Wiki][1].
>>
>> [1]: http://trac.common-lisp.net/armedbear/wiki/SourceLocation
>>
>>
>
> Regarding the comment:
>
>> SWANK-COMPILE-STRING must be implemented on top of COMPILE-FILE, the
>> current implementation is wrong.
>
> Note that slime may assume that a running lisp has access to a
> writeable file system, which may not be the case. So this is probably
> too strong a constraint.

It's not about COMPILE-FILE per se: whatever is used should have the
same semantics as file compilation, that's the point.

Some implementations provide a COMPILE-FROM-STREAM or similiar where a
string-stream can be feed to, for instance. Going over a temp file just
happens to be the quickest road to success.

  -T.





More information about the armedbear-devel mailing list