[armedbear-devel] Design for better source location

Alan Ruttenberg alanruttenberg at gmail.com
Thu Apr 15 13:56:19 UTC 2010


On Thu, Apr 15, 2010 at 9:46 AM, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> 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.

It can't have the same semantics as file compilation if it doesn't
create a file. I get the idea, of course, but it would be good to
clarify the expectations by giving the explicit requirements.

Best,
Alan

> 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.
>
>
> _______________________________________________
> armedbear-devel mailing list
> armedbear-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
>




More information about the armedbear-devel mailing list