aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/analyze/core.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/cljcc/analyze/core.clj')
-rw-r--r--src/cljcc/analyze/core.clj11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cljcc/analyze/core.clj b/src/cljcc/analyze/core.clj
index 84fe818..793b667 100644
--- a/src/cljcc/analyze/core.clj
+++ b/src/cljcc/analyze/core.clj
@@ -1 +1,10 @@
-(ns cljcc.analyze.core)
+(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))