14 |
structure BE = GenericVC.BareEnvironment |
structure BE = GenericVC.BareEnvironment |
15 |
structure CMSE = GenericVC.CMStaticEnv |
structure CMSE = GenericVC.CMStaticEnv |
16 |
structure S = GenericVC.Symbol |
structure S = GenericVC.Symbol |
17 |
|
structure CoerceEnv = GenericVC.CoerceEnv |
18 |
|
|
19 |
(* For testing purposes, I need to have access to the old basis |
(* For testing purposes, I need to have access to the old basis |
20 |
* library. This is done via the "primitives" mechanism. Eventually, |
* library. This is done via the "primitives" mechanism. Eventually, |
35 |
val sym = E.symbolicPart e |
val sym = E.symbolicPart e |
36 |
val dyn = E.dynamicPart e |
val dyn = E.dynamicPart e |
37 |
val stat = E.staticPart e |
val stat = E.staticPart e |
38 |
val bstat = CMSE.unCM stat |
val bstat = CoerceEnv.es2bs stat |
39 |
fun f ((s, b), (mods, nomods)) = |
fun f ((s, b), (mods, nomods)) = |
40 |
case S.nameSpace s of |
case S.nameSpace s of |
41 |
(S.STRspace | S.SIGspace | S.FCTspace | S.FSIGspace) => |
(S.STRspace | S.SIGspace | S.FCTspace | S.FSIGspace) => |
101 |
val delta = E.mkenv { static = stat, symbolic = sym, |
val delta = E.mkenv { static = stat, symbolic = sym, |
102 |
dynamic = dyn } |
dynamic = dyn } |
103 |
val base = #get ER.topLevel () |
val base = #get ER.topLevel () |
104 |
val new = BE.concatEnv (ER.unCMenv delta, base) |
val new = BE.concatEnv (CoerceEnv.e2b delta, base) |
105 |
in |
in |
106 |
#set ER.topLevel new; |
#set ER.topLevel new; |
107 |
Say.vsay ["[New bindings added.]\n"]; |
Say.vsay ["[New bindings added.]\n"]; |
148 |
pcmode = pcmode, |
pcmode = pcmode, |
149 |
keep_going = true, |
keep_going = true, |
150 |
pervasive = perv, |
pervasive = perv, |
151 |
corenv = corenv } |
corenv = corenv, |
152 |
|
pervcorepids = PidSet.empty } |
153 |
in |
in |
154 |
case Parse.parse param sflag p of |
case Parse.parse param sflag p of |
155 |
NONE => false |
NONE => false |
162 |
end |
end |
163 |
|
|
164 |
structure CMB = struct |
structure CMB = struct |
165 |
structure MkPrimPerv = |
structure BootstrapCompile = |
166 |
MkPrimPervFn (structure MachDepVC = HostMachDepVC) |
BootstrapCompileFn (structure MachDepVC = HostMachDepVC) |
167 |
fun setRetargetPervStatEnv x = () |
fun setRetargetPervStatEnv x = () |
168 |
fun wipeOut () = () |
fun wipeOut () = () |
169 |
fun make' _ = () |
fun make' _ = () |