diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-11-01 15:58:55 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-11-01 15:58:55 -0400 |
commit | cfb8ffaf94885d8dc1b492a050830a9b4ffc3d04 (patch) | |
tree | f4112230acc95c284530da52a823ff9b88516349 /src/compiler.sml | |
parent | 3f497272d327fea2638006c751d812dbbc449c78 (diff) |
First Unnest tests working
Diffstat (limited to 'src/compiler.sml')
-rw-r--r-- | src/compiler.sml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/compiler.sml b/src/compiler.sml index 4f1bce11..e92f86c3 100644 --- a/src/compiler.sml +++ b/src/compiler.sml @@ -383,12 +383,19 @@ val elaborate = { val toElaborate = transform elaborate "elaborate" o toParse +val unnest = { + func = Unnest.unnest, + print = ElabPrint.p_file ElabEnv.empty +} + +val toUnnest = transform unnest "unnest" o toElaborate + val termination = { func = (fn file => (Termination.check file; file)), print = ElabPrint.p_file ElabEnv.empty } -val toTermination = transform termination "termination" o toElaborate +val toTermination = transform termination "termination" o toUnnest val explify = { func = Explify.explify, |