[racket] Parsing a string into a quoted expr
I want to take a string which contains an expression and parse it as a
quoted expression, which I can then potentially evaluate or manipulate.
I noticed that the load function has this capability built into it, and I
know at some point racket has to take strings and parse them into
expressions. Is there a single function I can call to do this? If not, would
it be trivial to write a reader extension to do this? As in, just read all
characters in and quote the result.
Or I might just be better off writing a function that matches parens...but
it seems like reinventing the wheel when I don't have to.
Thanks for the advice!
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110912/d81c1019/attachment.html>