index
:
lisp16
master
simple cross platform 16bit Lisp interpreter
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
examples
/
factorial.lsp
blob: a539a0114310b3deab6cb92a1ed7aff85557aafa (
plain
) (
blame
)
1
2
3
4
5
6
(
define
(
factorial
x
)
(
if
x
(
*
x
(
factorial
(
-
x
1
)))
1
))
(
factorial
10
)