[plt-scheme] Characters espace with lex/yacc

From: Laurent (Ouaibou at gmail.com)
Date: Sun Nov 25 15:29:35 EST 2007

Hello,

I escape characters in my parser like this :

`(\(call/cc \(lambda \(cont\) \(k \(,$2 cont\)\)\)\)\)\)\)))

When i catch the result, i have something like :

(|(call/cc |(lambda |....)

So, i have to do an regexp in order to replace | by "" (the empty
string).

Is there an another easy solution ?

Thanks,
Laurent


Posted on the users mailing list.