Mercurial > urweb
comparison src/compiler.sml @ 1020:dfe34fad749d
RPC uses VM support for call/cc
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 25 Oct 2009 14:07:10 -0400 |
parents | 34ba25d6af3b |
children | 0d916892e39e |
comparison
equal
deleted
inserted
replaced
1019:68ba074e260f | 1020:dfe34fad749d |
---|---|
777 | 777 |
778 val toShake3 = transform shake "shake3" o toSpecialize | 778 val toShake3 = transform shake "shake3" o toSpecialize |
779 | 779 |
780 val toEspecialize = transform especialize "especialize" o toShake3 | 780 val toEspecialize = transform especialize "especialize" o toShake3 |
781 | 781 |
782 val tailify = { | 782 val toReduce2 = transform reduce "reduce2" o toEspecialize |
783 func = Tailify.frob, | |
784 print = CorePrint.p_file CoreEnv.empty | |
785 } | |
786 | |
787 val toTailify = transform tailify "tailify" o toEspecialize | |
788 | |
789 val toReduce2 = transform reduce "reduce2" o toTailify | |
790 | 783 |
791 val toShake4 = transform shake "shake4" o toReduce2 | 784 val toShake4 = transform shake "shake4" o toReduce2 |
792 | 785 |
793 val marshalcheck = { | 786 val marshalcheck = { |
794 func = (fn file => (MarshalCheck.check file; file)), | 787 func = (fn file => (MarshalCheck.check file; file)), |