>>107597330
>needs to include comment capabilities in his schemas
>>107596053
this
; This is a comment.
: Keywords:
:keyword
:this-is-a-keyword
:this_is_a_keyword
:some-namespace/some-keyword ; Namespaces are a very interesting concept.
:some-namespace/some-nested-namespace/some-keyword ; Namespaces can be nested.
; Symbols:
symbol
this-is-a-symbol
this_is_a_symbol
some-namespace/some-symbol
some-namespace/some-nested-namespace/some-symbol
; Characters (Unicode):
\a
\A
\8
\\
\%
; Strings:
"This is a string."
"Strings
can span
multiple lines."
; Integers:
-42
0
42
; Big integers:
-42N
0N
42N
; Ratios:
-84/2
-42/2
0/1
84/2
42/1
; Floats:
-42.5
0.0
42.5
; Lists:
(1 :two three "four")
; Vectors:
[1 :two three "four"]
; Sets:
#{1 :two three "four"}
; Maps:
{1 :some-value
:two :some/other/value
three "yet another value"
"four" "wow, so many values"
{:wtf "Look ma, I can use maps as keys}
"this is crazy!"}
btw, you can put commas literally anywhere. they are treated absolutely no differently from whitespace.