Hi,

On 28 Aug 2014, at 07:49, Offray Vladimir Luna Cárdenas <off...@riseup.net> 
wrote:

> The last question its related with Sven's STON: Suppose that I would like to 
> store light markup languages in STON which have the single quote character 
> (') on them, without creating any escape sequence, is this possible on  STON 
> and if not, what is needed to be changed for that?

I am not sure I understand, but I assume you want to be able to write another 
language inside a String constant. STON uses the same escape sequences as JSON. 
So that means you have to use either the general \uFFFF or a couple of 
shortcuts, like \' and \". Note however that you can use both single and double 
quote as string delimiters.

So you do:

'x:="foo"' or "x:='foo'" as well as 'x:=\'foo\'' and "x:=\"foo\""

Does that help ?

Sven

Reply via email to