aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-analy.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-28 00:08:51 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-28 00:08:51 +0000
commit78a4efb6f15ad686efe78fc10f3216719833d8aa (patch)
tree1e85cdfa3ddf38b9d45e9b9f6cd23df488a16092 /src/interp/i-analy.boot
parenta40ca0675768d44f492c2956c070bea091388a47 (diff)
downloadopen-axiom-78a4efb6f15ad686efe78fc10f3216719833d8aa.tar.gz
* interp/i-analy.boot (elaborateTree): New.
* interp/i-special.boot (bottomUpProposition): Likewise. (upand): Use it to handle propositional formula. (upor): Likewise.
Diffstat (limited to 'src/interp/i-analy.boot')
-rw-r--r--src/interp/i-analy.boot5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interp/i-analy.boot b/src/interp/i-analy.boot
index 6a645bbc..fb0848b7 100644
--- a/src/interp/i-analy.boot
+++ b/src/interp/i-analy.boot
@@ -213,6 +213,11 @@ elaborateForm pf ==
bottomUp t
t
+++ Elaborate a VAT with specified target type.
+elaborateTree(t,mode) ==
+ putTarget(t,mode)
+ bottomUp t
+
bottomUp t ==
-- bottomUp takes an attributed tree, and returns the modeSet for it.
-- As a side-effect it also evaluates the tree.