aboutsummaryrefslogtreecommitdiff
path: root/src/interp/br-data.boot.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-11-14 01:09:16 +0000
committerdos-reis <gdr@axiomatics.org>2007-11-14 01:09:16 +0000
commitfabbf02ee4b80241b75826536502c2d683e8462e (patch)
treeb1b9a9269a716958cf4e65312c6d7e5a9a0bbf5b /src/interp/br-data.boot.pamphlet
parentb9a4b6948e221b8e4fcd62ed69dd5713e0b8fbf7 (diff)
downloadopen-axiom-fabbf02ee4b80241b75826536502c2d683e8462e.tar.gz
* Makefile.pamphlet (br-search.$(FASLEXT)): New rule.
(br-saturn.$(FASLEXT)): Likewise. (br-op2.$(FASLEXT)): Likewise. (br-op1.$(FASLEXT)): Likewise. (br-con.$(FASLEXT)): Likewise. (br-data.$(FASLEXT)): Likewise. (br-util.$(FASLEXT)): Likewise. (<<br-search.clisp>>): Remove. (<<br-saturn.clisp>>): Likewise. (<<br-op2.clisp>>): Likewise. (<<br-op1.clisp>>): Likewise. (<<br-con.clisp>>): Likewise. (<<br-data.clisp>>): Likewise. (<<br-util.clisp>>): Likewise. * br-search.boot.pamphlet: Push into package "BOOT". Fix syntax. * br-saturn.boot.pamphlet: Likewise. * br-op2.boot.pamphlet: Likewise. * br-op1.boot.pamphlet: Likewise. * br-con.boot.pamphlet: Likewise. * br-data.boot.pamphlet: Likewise. * br-util.boot.pamphlet: Likewise.
Diffstat (limited to 'src/interp/br-data.boot.pamphlet')
-rw-r--r--src/interp/br-data.boot.pamphlet17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/interp/br-data.boot.pamphlet b/src/interp/br-data.boot.pamphlet
index fbee7b8f..bb3a1c9a 100644
--- a/src/interp/br-data.boot.pamphlet
+++ b/src/interp/br-data.boot.pamphlet
@@ -50,6 +50,9 @@
<<*>>=
<<license>>
+import '"bc-util"
+)package "BOOT"
+
lefts u ==
[x for x in HKEYS _*HASCATEGORY_-HASH_* | CDR x = u]
@@ -488,7 +491,7 @@ getImports conname == --called by mkUsersHashTable
template := infovec.0
u := [doImport(i,template)
for i in 5..(MAXINDEX template) | test] where
- test == template.i is [op,:.] and IDENTP op
+ test() == template.i is [op,:.] and IDENTP op
and not MEMQ(op,'(Mapping Union Record Enumeration CONS QUOTE local))
doImport(x,template) ==
x is [op,:args] =>
@@ -552,7 +555,7 @@ getParentsForDomain domname == --called by parentsOf
NREVERSE acc
explodeIfs x == main where --called by getParents, getParentsForDomain
- main ==
+ main() ==
x is ['IF,p,a,b] => fn(p,a,b)
[[x,:true]]
fn(p,a,b) ==
@@ -599,7 +602,7 @@ assocCar(x, al) == or/[pair for pair in al | x = CAAR pair]
childArgCheck(argl, nargl) ==
and/[fn for x in argl for y in nargl for i in 0..] where
- fn ==
+ fn() ==
x = y or constructor? opOf y => true
isSharpVar y => i = POSN1(y, $FormalMapVariableList)
false
@@ -621,7 +624,7 @@ ancestorsOf(conform,domform) == --called by kcaPage, originsInOrder,...
'category = GETDATABASE((conname := opOf conform),'CONSTRUCTORKIND) =>
alist := GETDATABASE(conname,'ANCESTORS)
argl := IFCDR domform or IFCDR conform
- [pair for [a,:b] in alist | pair] where pair ==
+ [pair for [a,:b] in alist | pair] where pair() ==
left := sublisFormal(argl,a)
right := sublisFormal(argl,b)
if domform then right := simpHasPred right
@@ -672,7 +675,7 @@ domainsOf(conform,domname,:options) ==
conname := opOf conform
u := [key for key in HKEYS _*HASCATEGORY_-HASH_*
| key is [anc,: =conname]]
- --u is list of pairs (a . b) where b = conname
+ --u is list of pairs (a . b) where b() = conname
--we sort u then replace each b by the predicate for which this is true
s := listSort(function GLESSEQP,COPY u)
s := [[CAR pair,:GETDATABASE(pair,'HASCATEGORY)] for pair in s]
@@ -692,7 +695,7 @@ catsOf(conform,domname,:options) ==
transKCatAlist(conform,domname,listSort(function GLESSEQP,alist))
transKCatAlist(conform,domname,s) == main where
- main ==
+ main() ==
domname => --accept only exact matches after substitution
domargs := rest domname
acc := nil
@@ -744,7 +747,7 @@ mkHasArgsPred subargs ==
systemError subargs
sublisFormal(args,exp,:options) == main where
- main == --use only on LIST structures; see also sublisFormalAlist
+ main() == --use only on LIST structures; see also sublisFormalAlist
$formals: local := IFCAR options or $FormalMapVariableList
null args => exp
sublisFormal1(args,exp,#args - 1)