On Fri, Sep 7, 2012 at 3:01 AM, Rich Hickey <richhic...@gmail.com> wrote:
> I've started to document a subset of Clojure's data format in an effort to 
> get it more widely used as a data exchange format, e.g. as an alternative to 
> JSON.
>
> Please have a look:
>
> https://github.com/richhickey/edn
>
> Rich

I assume that character literals are intended to be like those in
Clojure, however these are legal in Clojure:

\<an actual space>
\<an actual newline>
\<an actual return>
\<an actual tab>

I don't think it would be a good idea to support these in edn as they
are hard for a human to read unambiguously. I'd suggest requiring:

\space
\newline
\return
\tab
...

and disallowing whitespace immediately following the \ introducing a
character literal.

// Ben

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to