[Ecls-list] Problems with #= and #./#+/#-/user macro

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Jan 3 23:12:58 UTC 2011


The specification of #= seems to be ill defined with respect to its
interaction with reader macros. Take this:

 #1=(1 2 3 #.(print '#1#))

it crashes SBCL and produces garbage in ECL. Similar problems about the
interaction between #+ and #=

(1 2 #+#1=(:ecl) 3 #+#1# 4)

or the interaction with #.

(1 #1=2 #.(print #1#))

Is the reader for #+,#. expected to do some sharp-eq replacement in the
resulting forms? What about user code implementing reader macros? How shound
ECL recognize that an eager replacement is needed when reading inside some
user reader macro, specially if he/she uses :recursive t???

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110104/3d746de5/attachment.html>


More information about the ecl-devel mailing list