1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-09 13:33:26 +00:00

Add PROG example

This commit is contained in:
David Schmenk 2024-07-12 12:02:08 -07:00
parent 0ddec876ac
commit 439216d437

11
src/lisp/prog.lisp Normal file
View File

@ -0,0 +1,11 @@
(label length (lambda (l)
(prog (u v)
(setq v 0)
(setq u l)
a (cond ((null u),(return v)))
(setq u (cdr u))
(setq v (+ 1 v))
(go a)
)
)
)