[plt-scheme] how read list

From: wwall (wwall at yandex.ru)
Date: Wed May 16 13:25:34 EDT 2007

Hello plt-scheme,

  i have text
  "{"Dialogs",
{"Frame",
{"-11","0","0","0","400","0","0","0","204","1","2","1","34","MS Sans Serif","320","165"," ","","","0","","1","1","6","25","-1","0","0",
{"0",
{"Основной","1"}},"1","1"}},
{
{
{}},
{}},
{"Controls",
{"Закрыть","BUTTON","1342177291","70","142","54","14","0","0","4152","","#Закрыть","","-1","U","0","0","0","0","0","","","","0","-11","0","0","0","0","0","0","0","0","0","0","0","0","MS Sans Serif","-1","-1","0","Основной","{""0"",""0""}"},
{"ОК","BUTTON","1342181387","10","142","54","14","0","0","4153","","#Записать? Закрыть","","-1","U","0","0","0","0","0","","","","0","-11","0","0","0","0","0","0","0","0","0","0","0","0","MS Sans Serif","-1","-1","0","Основной","{""0"",""0""}"}},
{"Cnt_Ver","10001"}}  "

how i can fast read it as list?
How escape "," on reader?
Replace to whitespace - not optimal, because text may be very long (more
than 2M)

-- 
Best regards,
 wwall                          mailto:wwall at yandex.ru



Posted on the users mailing list.