Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Escaped string in sexplib
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Escaped string in sexplib
On Tue, Jun 8, 2010 at 11:44, Hugo Ferreira <> wrote:
> I am trying to us the Sexplib library to process data.
> However I am having some trouble with strings.
> Specifically I need to save and restore strings to a file
> so that the escaping done during saving is "undone"
> when data is read back in.
> How can I do this? Appreciate any pointers.

The I/O and parsing routines in the S-expression library should take
care of escaped strings just fine.  Btw., the escaping conventions are
absolutely identical to the ones used by OCaml.


Markus Mottl