Thank you very much!

_Nick_



On Tue, Jul 13, 2010 at 10:09 AM, Vladimir Sedach <vsedach@gmail.com> wrote:
Hi Nick,

What you're seeing is CL string escapes in the output string:

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

Vladimir

2010/7/12 Nick Fitzgerald <fitzgen@gmail.com>:
> 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_
>
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel@common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
>

_______________________________________________
parenscript-devel mailing list
parenscript-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel