[parenscript-devel] Bug w/ strings and backslashes?

Nick Fitzgerald fitzgen at gmail.com
Tue Jul 13 02:17:20 UTC 2010


Hello everyone!

Maybe I am misinterpreting this, but I can't seem to reproduce the following
example from the reference.

> Parenscript makes no effort to interpolate C-style escape strings. Rather,
non-printable characters in Lisp strings are output using escape sequences:
>
> > #\Tab
>
> '\t';
>
> > "\\n"
>
> '\\n';

This is the behavior that I get:

> PS> (ps "\\n")
> "'\\\\n';"
> PS> (ps "\n")
> "'n';"

Am I doing something wrong?

I'm on the HEAD of master from
http://common-lisp.net/project/parenscript/git/parenscript, btw.

Thanks,

_Nick_
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20100712/d1fd5599/attachment.html>


More information about the parenscript-devel mailing list