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
81 ;;; TODO: fix these so they fail correctly
83 ; expected ')', got EOF
85 ; expected ']', got EOF
87 ; expected '"', got EOF
90 ;; -------- Optional Functionality --------
92 ;; Testing read of comments
93 ;; whole line comment (not an exception)
94 1 ; comment after expression
96 1; comment after expression
99 ;; Testing read of quoting
107 ;=>(quasiquote (1 2 3))
113 ;=>(splice-unquote (1 2 3))
116 ;; Testing read of ^/metadata
118 ;=>(with-meta [1 2 3] {"a" 1})
121 ;; Testing read of @/deref