[Openmcl-devel] Using readtables for only one library

Daniel Weinreb dlw at alum.mit.edu
Sat May 8 18:19:23 PDT 2010


Ben Hyde wrote:
> I've argued against read tables 
Me too, which is why I had to ask about this.

What I'm doing is a little hack to try to make a Lisp extension
that would look as familiar as possible to a Ruby programmer.
So I need to mess a bit with the low-level syntax.  I'm not
doing the complete Ruby syntax or anything, but I do
want single-quotes and double-quotes to look familiar.

By the way, I don't know why I'm doing this.

-- Dan
> in all the systems I've built, often against
> great odds, for just this reason.  I'm set in my ways.  But...
>   <http://common-lisp.net/project/named-readtables/>
> appears to offer some hope.
>
> I have not seen it in use, and given my ways I certainly haven't used it.
>
>
> On May 8, 2010, at 12:05 PM, Daniel Weinreb wrote:
>
>> Suppose I want to write a Lisp library, that's in its own package,
>> and uses its own readtable.  I want to be able to load it into
>> Lisp without breaking other packages.  So I don't want
>> to simply set *readtable*. Surely there mut be some kind
>> of standard/idiomatic way to do this in Common Lisp?
>> (I haven't used special readtables in decades!)
>>
>> Thanks!
>>
>> -- Dan
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
>
>




More information about the Openmcl-devel mailing list