From 10174ffc7ea08b7845dbe409a11811e820536468 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Dec 2012 07:06:22 +0000 Subject: Compile constructors as LLVM struct types. Use LLVM type names instead of hyper verbose literal types in more places in general. More work on quoting. git-svn-id: http://svn.drobilla.net/resp/trunk@439 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- test/quote.resp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/quote.resp (limited to 'test') diff --git a/test/quote.resp b/test/quote.resp new file mode 100644 index 0000000..741a7a7 --- /dev/null +++ b/test/quote.resp @@ -0,0 +1,25 @@ +(def-type (Expr) + (Symbol Symbol) + (Int Int) + (List Expr Expr) + (Empty)) + + +(def l (quote (2 3))) + +(match l + (Symbol s) + 0 + + (Int i) + 1 + + (List h t) + 2 + + (Empty) + 3) + +;(def (car l) +;(. l 0) +;l -- cgit v1.2.1