aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/SYMBOL.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-03 20:51:40 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-03 20:51:40 +0000
commit6c0cc18deacadb592fe3d68c5585979f6902cd1a (patch)
treee6a692a4192af9746f755e855c3dfb33e99cfcfd /src/algebra/strap/SYMBOL.lsp
parent41cb0a1a53d9022c9461c6c9137329a252b455dd (diff)
downloadopen-axiom-6c0cc18deacadb592fe3d68c5585979f6902cd1a.tar.gz
Generate more readable code for functor definitions.
* interp/nruncomp.boot (washFunctorBody): New. (buildFunctor): Use it. * interp/g-opt.boot (optBind): New. (optLIST): Likewise.
Diffstat (limited to 'src/algebra/strap/SYMBOL.lsp')
-rw-r--r--src/algebra/strap/SYMBOL.lsp44
1 files changed, 20 insertions, 24 deletions
diff --git a/src/algebra/strap/SYMBOL.lsp b/src/algebra/strap/SYMBOL.lsp
index 91e8f1e8..05b03c5e 100644
--- a/src/algebra/strap/SYMBOL.lsp
+++ b/src/algebra/strap/SYMBOL.lsp
@@ -760,30 +760,26 @@
(COND ((NOT #0#) (HREM |$ConstructorCache| '|Symbol|)))))))))))
(DEFUN |Symbol;| ()
- (PROG (|dv$| $ |pv$|)
- (RETURN
- (PROGN
- (LETT |dv$| '(|Symbol|) . #0=(|Symbol|))
- (LETT $ (|newShell| 165) . #0#)
- (|setShellEntry| $ 0 |dv$|)
- (|setShellEntry| $ 3
- (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
- (|haddProp| |$ConstructorCache| '|Symbol| NIL (CONS 1 $))
- (|stuffDomainSlots| $)
- (|setShellEntry| $ 10 (SPADCALL 0 (|getShellEntry| $ 9)))
- (|setShellEntry| $ 13 (SPADCALL (|getShellEntry| $ 12)))
- (|setShellEntry| $ 18
- (SPADCALL (LIST "0" "1" "2" "3" "4" "5" "6" "7" "8" "9")
- (|getShellEntry| $ 17)))
- (|setShellEntry| $ 19 "0123456789")
- (|setShellEntry| $ 20 "ABCDEFGHIJKLMNOPQRSTUVWXYZ")
- (|setShellEntry| $ 21 "abcdefghijklmnopqrstuvwxyz")
- (|setShellEntry| $ 38 "*")
- (|setShellEntry| $ 41 (QCSIZE (|getShellEntry| $ 38)))
- (|setShellEntry| $ 45
- (SPADCALL (SPADCALL "0" (|getShellEntry| $ 43))
- (|getShellEntry| $ 44)))
- $))))
+ (LET ((|dv$| (LIST '|Symbol|)) ($ (|newShell| 165))
+ (|pv$| (|buildPredVector| 0 0 NIL)))
+ (|setShellEntry| $ 0 |dv$|)
+ (|setShellEntry| $ 3 |pv$|)
+ (|haddProp| |$ConstructorCache| '|Symbol| NIL (CONS 1 $))
+ (|stuffDomainSlots| $)
+ (|setShellEntry| $ 10 (SPADCALL 0 (|getShellEntry| $ 9)))
+ (|setShellEntry| $ 13 (SPADCALL (|getShellEntry| $ 12)))
+ (|setShellEntry| $ 18
+ (SPADCALL (LIST "0" "1" "2" "3" "4" "5" "6" "7" "8" "9")
+ (|getShellEntry| $ 17)))
+ (|setShellEntry| $ 19 "0123456789")
+ (|setShellEntry| $ 20 "ABCDEFGHIJKLMNOPQRSTUVWXYZ")
+ (|setShellEntry| $ 21 "abcdefghijklmnopqrstuvwxyz")
+ (|setShellEntry| $ 38 "*")
+ (|setShellEntry| $ 41 (QCSIZE (|getShellEntry| $ 38)))
+ (|setShellEntry| $ 45
+ (SPADCALL (SPADCALL "0" (|getShellEntry| $ 43))
+ (|getShellEntry| $ 44)))
+ $))
(MAKEPROP '|Symbol| '|infovec|
(LIST '#(NIL NIL NIL NIL NIL NIL (|Integer|) (0 . |Zero|)