Add the tiger source code bundle from the book site

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2024-12-18 15:18:45 -08:00
parent 915660c8a7
commit 33d8bac511
87 changed files with 3252 additions and 0 deletions

View file

@ -0,0 +1,13 @@
/* error : procedure returns value and procedure is used in arexpr */
let
/* calculate n! */
function nfactor(n: int) =
if n = 0
then 1
else n * nfactor(n-1)
in
nfactor(10)
end