Add a hexa-layered chocolate fudge cake :-) (see below) Added try.me.sh script which will take a list of files (if no arg specified it has a default of files added, as described below) and feed each one to jar.2. The lisp files added are: fib.lisp from Yusuke Endoh; try.me.txt from the author; and chocolate_cake.lisp from me. The cake one uses '(quote ...)' that the program supports but the other files do not and plus who can't use a bit (or lot :-) ) of chocolate cake? Made the entry look slightly more like the original by adding back the macros that can't be used but still are part of the entry (#defines for define and include).
6 lines
89 B
Common Lisp
6 lines
89 B
Common Lisp
(defun fib (n)
|
|
(if (< n 2)
|
|
1
|
|
(+ (fib (- n 2)) (fib (- n 1)))))
|
|
(fib 10)
|