diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-10-29 08:55:00 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-10-29 08:55:07 -0700 |
commit | 52dc9fa4844d34da3fe178370f126b9d4fb47536 (patch) | |
tree | 5835abc7ae20703551fddb6fca96d1dff87a41b3 /mu.arc.t | |
parent | 48cd1ae766dc9dc24785d2b19f963a70df869a01 (diff) | |
download | mu-52dc9fa4844d34da3fe178370f126b9d4fb47536.tar.gz |
164 - start of a simple tangling system
Diffstat (limited to 'mu.arc.t')
-rw-r--r-- | mu.arc.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mu.arc.t b/mu.arc.t index 63445058..5165f77e 100644 --- a/mu.arc.t +++ b/mu.arc.t @@ -1353,4 +1353,17 @@ ((3 integer) <- add (1 integer) (2 integer)))) (prn "F - convert-names renames symbolic names to integer offsets")) +(reset) +(new-trace "convert-quotes-defer") +(if (~iso (convert-quotes + '(((1 integer) <- copy (4 literal)) + (defer [ + ((3 integer) <- copy (6 literal)) + ]) + ((2 integer) <- copy (5 literal)))) + '(((1 integer) <- copy (4 literal)) + ((2 integer) <- copy (5 literal)) + ((3 integer) <- copy (6 literal)))) + (prn "F - convert-quotes can handle 'defer'")) + (reset) ; end file with this to persist the trace for the final test |