Init
This commit is contained in:
10
cs420-acc/l3-warmup/tests/expr-rec.l3
Normal file
10
cs420-acc/l3-warmup/tests/expr-rec.l3
Normal file
@@ -0,0 +1,10 @@
|
||||
;; In Emacs, open this file in -*- Scheme -*- mode
|
||||
|
||||
;; Test the "rec" expression
|
||||
|
||||
(@byte-write 65)
|
||||
|
||||
(rec loop ((i 0) (j 65))
|
||||
(if (@= j 0)
|
||||
(@byte-write i)
|
||||
(loop (@+ i 1) (@- j 1))))
|
Reference in New Issue
Block a user