[plt-scheme] read-sexp?

From: Eli Barzilay (eli at barzilay.org)
Date: Tue May 3 22:54:19 EDT 2005

On May  3, Mike wrote:
> Previously I was building libraries (and still am).
> Now I have a need to replace a perl program. I want to
> write this in scheme. There was a recent discussion on
> using (write) and (read) for processing flat-files.
> I have tested the (read-line), but can't guarentee(?)
> what is written to the file will have sexps on a single
> line.
> 
> I've thought about implementing a custom reader to
> read the sexps. Has anyone done this? Is there some
> code I can follow/learn from?

This depends on the kind of data that you want to deal with.
-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!



Posted on the users mailing list.