summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-11 15:12:24 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-11 15:12:24 -0500
commitc37eb2bf37073699bd66ae920359ffb20e6b93ef (patch)
treed5ed1a7591b639cb85c0a2e8982c9d9929b42df3 /src/compiler.sml
parentefdbe3296b37e61fe8838762e4212756f4a3833d (diff)
Get preliminary ThreadedBlog working
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index 93a03169..b2f8f91c 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -446,12 +446,15 @@ val defunc = {
val toDefunc = transform defunc "defunc" o toShake1
+val toCore_untangle' = transform core_untangle "core_untangle'" o toDefunc
+val toShake1' = transform shake "shake1'" o toCore_untangle'
+
val tag = {
func = Tag.tag,
print = CorePrint.p_file CoreEnv.empty
}
-val toTag = transform tag "tag" o toDefunc
+val toTag = transform tag "tag" o toShake1'
val reduce = {
func = Reduce.reduce,