[plt-scheme] Characters espace with lex/yacc

Laurent Ouaibou at gmail.com
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



More information about the plt-scheme mailing list