[parenscript-devel] string escapes

Vladimir Sedach vsedach at gmail.com
Sat Feb 28 19:38:43 UTC 2009


Hi William,

To get JS newline, tab, etc. escape sequences out of Parenscript, just
give it those characters in CL:

(princ (ps #\Backspace)) prints '\b';

Vladimir

On Sat, Feb 28, 2009 at 11:27 AM, William Halliburton
<whalliburton at gmail.com> wrote:
>
> Hello all.
>
> How would one get this string literal into javascript from parenscript. I'm
> having a little trouble dealing with the escapes.
>
> '\b'
>
> I need those 4 characters.
>
> (ps "\\a") is giving '\\b' .
>
> Is there any way or should I look deeper into the source?
>
> Thanks much,
> Will
>
>
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
>




More information about the parenscript-devel mailing list