chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] blob-literal read syntax


From: Alex Shinn
Subject: Re: [Chicken-hackers] blob-literal read syntax
Date: Sat, 23 Oct 2010 11:24:04 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

John Cowan <address@hidden> writes:

> Magnus Achim Deininger scripsit:
>
>> <text> is mostly the blob contents verbatim, i.e. without converting it 
>> to hex first, except for some special characters.
>
> If we must have blob syntax at all, I agree that hex is The Right Thing,
> but allowing interspersed whitespace.

How about take a hint from Erlang and allow mixed hex and
ASCII strings?

  #vu8(010203"abcdef"0A0B0C)

with arbitrary interspersed whitespace (but not between the
two characters of a single hex value):

  #vu8(01 02 03 "abcdef" 0A 0B 0C)

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]