aboutsummaryrefslogtreecommitdiff
path: root/src/cljcc/analyze/core.clj
diff options
context:
space:
mode:
authorShagun Agrawal <agrawalshagun07@gmail.com>2024-12-01 21:31:08 +0530
committerShagun Agrawal <agrawalshagun07@gmail.com>2024-12-01 21:31:08 +0530
commit38642b31168135f7bb70668d5d3e4cebd7dd5074 (patch)
tree327b08ef142cbdd3487fd479d34eb490eec883b8 /src/cljcc/analyze/core.clj
parentd2612386c820f8719af6d837030c04b0ec663b3c (diff)
Typechecking for int, long types
Refactored files to /analyze folder
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))