Re: [racket-users] Using S-Expressions as Persistence

2017-12-26 Thread Philip McGrath
Rather than a module to be run, you can also persist data using `write` and `read` (perhaps in combination with `serialize` and `deserialize`). -Philip On Tue, Dec 26, 2017 at 7:14 AM, Zelphir Kaltstahl < zelphirkaltst...@gmail.com> wrote: > Hm that's a point. > It is only data for a blog,

Re: [racket-users] Using S-Expressions as Persistence

2017-12-25 Thread David Storrs
There's a security issue in that if someone managed to modify your persistence file they could use it to execute arbitrary code when you read it in. On Mon, Dec 25, 2017 at 7:26 AM, Zelphir Kaltstahl wrote: > I wrote some program which uses the `yaml` library to parse

Re: [racket-users] Using S-Expressions as Persistence

2017-12-25 Thread Hendrik Boom
On Mon, Dec 25, 2017 at 04:26:29AM -0800, Zelphir Kaltstahl wrote: > I wrote some program which uses the `yaml` library to parse some data files. > > > However, this morning, I had an idea. I often read, that XML is sort of a > more verbose form of S-Expressions or that it at least could be