summaryrefslogtreecommitdiff
path: root/src/compiler.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-02-27 14:57:57 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-02-27 14:57:57 -0500
commit1607362ff628b9a1476679fbf9146b66ce92a3ee (patch)
treebc570639fdcb7e276797abacd77aca9bcbe5c57e /src/compiler.sml
parentdb1a486aaf3470c9c2cb30529867ae96d28f4ce2 (diff)
Basic analysis of tag and CSS class usage
Diffstat (limited to 'src/compiler.sml')
-rw-r--r--src/compiler.sml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler.sml b/src/compiler.sml
index 99c730f1..c74a0915 100644
--- a/src/compiler.sml
+++ b/src/compiler.sml
@@ -1001,6 +1001,13 @@ val effectize = {
val toEffectize = transform effectize "effectize" o toMarshalcheck
+val css = {
+ func = Css.summarize,
+ print = fn _ => Print.box []
+}
+
+val toCss = transform css "css" o toShake5
+
val monoize = {
func = Monoize.monoize CoreEnv.empty,
print = MonoPrint.p_file MonoEnv.empty