mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 10:37:58 +03:00
90f618cbe7
Also, add missed postscript interop tests.
23 lines
248 B
Plaintext
23 lines
248 B
Plaintext
;; Testing types returned from pl*
|
|
|
|
(pl* "123")
|
|
;=>123
|
|
|
|
(pl* "\"abc\"")
|
|
;=>"abc"
|
|
|
|
(pl* "{'abc'=>123}")
|
|
;=>{"abc" 123}
|
|
|
|
(pl* "['abc', 123]")
|
|
;=>("abc" 123)
|
|
|
|
(pl* "2+3")
|
|
;=>5
|
|
|
|
;; Testing eval of print statement
|
|
|
|
(pl* "print 'hello\n';")
|
|
; hello
|
|
;=>1
|