1 ;; Testing cons function
8 (cons (list 1) (list 2 3))
17 ;; Testing concat function
22 (concat (list 1 2) (list 3 4))
24 (concat (list 1 2) (list 3 4) (list 5 6))
31 (concat a b (list 5 6))
38 ;; Testing regular quote
53 ;; Testing simple quasiquote
62 (quasiquote (1 2 (3 4)))
93 ;; Testing splice-unquote
102 ;; Testing symbol equality
119 ;;; TODO: needs expect line length fix
120 ;;;((fn* [q] (quasiquote ((unquote q) (quote (unquote q))))) (quote (fn* [q] (quasiquote ((unquote q) (quote (unquote q)))))))
121 ;;;=>((fn* [q] (quasiquote ((unquote q) (quote (unquote q))))) (quote (fn* [q] (quasiquote ((unquote q) (quote (unquote q)))))))
124 ;; -------- Optional Functionality --------
126 ;; Testing cons, concat, first, rest with vectors
132 (concat [1 2] (list 3 4) [5 6])
135 ;; Testing unquote with vectors
143 ;; Testing splice-unquote with vectors
144 (def! c '(1 "b" "d"))
149 ;;;;=>[1 1 "b" "d" 3]