1 ;; Testing read of nil/true/false
10 ;; Testing read of numbers
19 ;; Testing read of symbols
32 ;; Testing read of strings
38 ;=>"abc (with parens)"
45 ;; Testing read of lists
55 ;; Testing read of vectors
65 ;; Testing read of hash maps
71 ;=>{"a" {"b" {"c" 3}}}
72 { "a" {"b" { "cde" 3 } }}
73 ;=>{"a" {"b" {"cde" 3}}}
75 ;; Test commas as whitespace
80 ;; Testing reader errors
82 ; expected ')', got EOF
84 ; expected ']', got EOF
86 ; expected '"', got EOF
89 ;; -------- Optional Functionality --------
91 ;; Testing read of comments
92 ;; whole line comment (not an exception)
93 1 ; comment after expression
95 1; comment after expression
98 ;; Testing read of quoting
106 ;=>(quasiquote (1 2 3))
112 ;=>(splice-unquote (1 2 3))
115 ;; Testing read of ^/metadata
117 ;=>(with-meta [1 2 3] {"a" 1})
120 ;; Testing read of @/deref