shithub: femtolisp

Download patch

ref: 811e638d4f0ae4c79b5871ec08695963e6710a7a
parent: 703d57deb969d9b562ebe74c838e03532999cd1b
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Mar 27 11:10:57 EDT 2023

unit tests: add quasiquote tests from Julia

--- a/test/unittest.lsp
+++ b/test/unittest.lsp
@@ -303,5 +303,8 @@
 
 (assert-fail (eval '(set! (car (cons 1 2)) 3)))
 
+(assert (equal? `(a `(b c)) '(a (quasiquote (b c)))))
+(assert (equal? ````x '```x))
+
 (princ "all tests pass\n")
 #t