aboutsummaryrefslogtreecommitdiff
path: root/src/interp/as.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-14 01:59:56 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-14 01:59:56 +0000
commit663089e7f95f4901a46939ef34c60982dd5aadda (patch)
tree591d333d98a1eaf5b3c22d57e75ece8c56f9619b /src/interp/as.boot
parentc5659a8580de5b531891c6703465c84add9fbb1b (diff)
downloadopen-axiom-663089e7f95f4901a46939ef34c60982dd5aadda.tar.gz
Various cleanups.
Diffstat (limited to 'src/interp/as.boot')
-rw-r--r--src/interp/as.boot34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/interp/as.boot b/src/interp/as.boot
index 8ed116d9..6ab40d99 100644
--- a/src/interp/as.boot
+++ b/src/interp/as.boot
@@ -216,22 +216,22 @@ getAttributesFromCATEGORY catform ==
displayDatabase x == main where
main() ==
for y in
- '(CONSTRUCTORFORM CONSTRUCTORKIND _
- CONSTRUCTORMODEMAP _
- ABBREVIATION _
- CONSTRUCTORCATEGORY _
- PARENTS _
- ATTRIBUTES _
- ANCESTORS _
- SOURCEFILE _
- OPERATIONALIST _
- MODEMAPS _
- SOURCEFILE _
- DOCUMENTATION) repeat fn(x,y)
+ '(("form" . getConstructorFormFromDB) _
+ ("kind" . getConstructorKindFromDB) _
+ ("modemap" . getConstructorModemapFromDB) _
+ ("abbreviation" . getConstructorAbbreviationFromDB) _
+ ("category" . getConstructorCategoryFromDB) _
+ ("parents" . getConstructorParentsFromDB) _
+ ("attributes" . getConstructorAttributesFromDB) _
+ ("ancestors" . getConstructorAncestorsFromDB) _
+ ("source file" . getConstructorSourceFileFromDB) _
+ ("all operations" . getConstructorOperationsFromDB) _
+ ("operation modemap" . getOperationModemapsFromDB) _
+ ("documentation" . getConstructorDocumentationFromDB)) repeat fn(x,y)
where
fn(x,y) ==
- sayBrightly ['"----------------- ",y,'" --------------------"]
- pp GETDATABASE(x,y)
+ sayBrightly ['"----------------- ",first y,'" --------------------"]
+ pp FUNCALL(rest y, x)
-- For some reason Dick has modified as.boot to convert the
-- identifier |0| or |1| to an integer in the list of operations.
@@ -392,7 +392,7 @@ asyAncestors x ==
atom x =>
x = '_% => '_$
MEMQ(x, $niladics) => [x]
- GETDATABASE(x ,'NILADIC) => [x]
+ niladicConstructorFromDB x => [x]
x
asyAncestorList x
@@ -759,9 +759,9 @@ createAbbreviation s ==
nil
--============================================================================
--- extending getConstructorModemap Property
+-- extending getConstructorModemapFromDB Property
--============================================================================
---Note: modemap property is built when getConstructorModemap is called
+--Note: modemap property is built when getConstructorModemapFromDB is called
asyConstructorModemap con ==
HGET($conHash,con) isnt [record,:.] => nil --not there