aboutsummaryrefslogtreecommitdiff
path: root/cljcc-compiler/src/cljcc/analyze/core.cljc
diff options
context:
space:
mode:
Diffstat (limited to 'cljcc-compiler/src/cljcc/analyze/core.cljc')
-rw-r--r--cljcc-compiler/src/cljcc/analyze/core.cljc10
1 files changed, 10 insertions, 0 deletions
diff --git a/cljcc-compiler/src/cljcc/analyze/core.cljc b/cljcc-compiler/src/cljcc/analyze/core.cljc
new file mode 100644
index 0000000..793b667
--- /dev/null
+++ b/cljcc-compiler/src/cljcc/analyze/core.cljc
@@ -0,0 +1,10 @@
+(ns cljcc.analyze.core
+ (:require [cljcc.analyze.resolve :as r]
+ [cljcc.analyze.label-loops :as l]
+ [cljcc.analyze.typecheck :as t]))
+
+(defn validate [program]
+ (-> program
+ r/resolve-program
+ l/label-loops
+ t/typecheck))