1 ;; Testing read of numbers
12 ;; Testing read of symbols
25 ;; Testing read of lists
45 ;; Test commas as whitespace
53 ;; -------- Deferrable Functionality --------
55 ;; Testing read of nil/true/false
63 ;; Testing read of strings
69 ;=>"abc (with parens)"
77 ;; Testing reader errors
78 ;;; TODO: fix these so they fail correctly
80 ; expected ')', got EOF
82 ; expected ']', got EOF
84 ; expected '"', got EOF
86 ; expected ')', got EOF
88 ;; Testing read of quoting
96 ;=>(quasiquote (1 2 3))
102 ;=>(quasiquote (1 (unquote a) 3))
104 ;=>(splice-unquote (1 2 3))
109 ;; -------- Optional Functionality --------
117 ;; Testing read of vectors
129 ;; Testing read of hash maps
135 ;=>{"a" {"b" {"c" 3}}}
136 { "a" {"b" { "cde" 3 } }}
137 ;=>{"a" {"b" {"cde" 3}}}
138 { :a {:b { :cde 3 } }}
139 ;=>{:a {:b {:cde 3}}}
141 ;; Testing read of comments
142 ;; whole line comment (not an exception)
143 1 ; comment after expression
145 1; comment after expression
148 ;; Testing read of ^/metadata
150 ;=>(with-meta [1 2 3] {"a" 1})
153 ;; Testing read of @/deref