From cd1de33b9118a9d807fec6102de59820f0b0175d Mon Sep 17 00:00:00 2001 From: Abdulaziz Ghuloum Date: Tue, 22 May 2007 19:59:30 -0400 Subject: [PATCH] * Added let-syntax and letrec-syntax. --- R6RS-TODO.txt | 2 +- src/ikarus.boot | Bin 2517327 -> 2534247 bytes src/ikarus.main.ss | 9 ++++----- src/ikarus.syntax.ss | 39 ++++++++++++++++++++++++++++++++++++++- src/makefile.ss | 4 ++++ 5 files changed, 47 insertions(+), 7 deletions(-) diff --git a/R6RS-TODO.txt b/R6RS-TODO.txt index 3b79421..da079bf 100644 --- a/R6RS-TODO.txt +++ b/R6RS-TODO.txt @@ -9,7 +9,6 @@ TODO for (R6RS BASE) - library phases (simply ignore) - internal imports - Recognize (define x) - - Add let-syntax and letrec-syntax - Add identifier-syntax - Add do, let*-values. @@ -86,4 +85,5 @@ TODO for (R6RS BASE) Completed for (R6RS BASE): + - Add let-syntax and letrec-syntax numerator denominator diff --git a/src/ikarus.boot b/src/ikarus.boot index eb380287aff884f684f31e63defa7586cb3d08cb..995d0a4184a7ec9d701145f1c230abf47c5f2cda 100644 GIT binary patch delta 677845 zcmb?^2YggT{&?nXk_`mNh7?jrS=bax*xmHNrfmAA?QVJ~LVE8#>H&uh5dohto)qC! zJP%YnQF0<01jIWOgL?LYCn`}eK~bXw^8e18_jccA6TG|sFP{&*o&Ig}o$t(iXXdT9 z|AfAI?_spn$6=LsvE=A?B{A$5KYL33;rGYfZx4rp%SDo-XJ`O#-HD`<@DCzb?d`7i zjE#+~W#_hi`Ef~!ZEc}}u_>yuN>x~Cag9!8XJcdRNwcAU8%AxM?)+sO*{n}hAc%6h z!xsMEl)CuDrdU!LlDJ4;hZv}h%|->13ogYhs!XWKF6t=A&2Np&tj*1fPR@z<}($-PYE`xwBt|GBGps!ZnT5kwQ3pMIg64Ja5lE@!z{uxp8_7K~@8vZi@ z;2~+*DZ%o$eHXKRXcpVNUCKVmc*s;4$uZ$osmelQXJBr5Kp}gMar1u5#*7G8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