Exponential Explosion of Escape Characters.




Exponential Explosion of Escape Characters


This time, Common Lisp:


? (setf q nil)

NIL

? (setf q (make-symbol (write-to-string q)))

#:NIL

? (setf q (make-symbol (write-to-string q)))

#:|#:NIL|

? (setf q (make-symbol (write-to-string q)))

#:|#:\|#:NIL\||

? (setf q (make-symbol (write-to-string q)))

#:|#:\|#:\\\|#:NIL\\\|\||

? (setf q (make-symbol (write-to-string q)))

#:|#:\|#:\\\|#:\\\\\\\|#:NIL\\\\\\\|\\\|\||

? (setf q (make-symbol (write-to-string q)))

#:|#:\|#:\\\|#:\\\\\\\|#:\\\\\\\\\\\\\\\|#:NIL\\\\\\\\\\\\\\\|\\\\\\\|\\\|\||

? (setf q (make-symbol (write-to-string q)))

#:|#:\|#:\\\|#:\\\\\\\|#:\\\\\\\\\\\\\\\|#:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|#:NIL
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\|\\\\\\\|\\\|\||

? (setf q (make-symbol (write-to-string q)))

#:|#:\|#:\\\|#:\\\\\\\|#:\\\\\\\\\\\\\\\|#:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|#:\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|#:NIL\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
\|\\\\\\\\\\\\\\\|\\\\\\\|\\\|\||

? (setf q (make-symbol (write-to-string q)))

#:|#:\|#:\\\|#:\\\\\\\|#:\\\\\\\\\\\\\\\|#:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|#:\\\
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\|#:\\\\\\\\\\\\\\\\\
\\\\\\\\\\\\\\\\\\\\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