aboutsummaryrefslogtreecommitdiff
path: root/cljcc-compiler/src/cljcc/analyze/core.clj
diff options
context:
space:
mode:
authorYour Name <agrawalshagun07@gmail.com>2025-03-16 02:00:40 +0530
committerYour Name <agrawalshagun07@gmail.com>2025-03-16 02:00:40 +0530
commit0321df3708cfa4d1440faf3f407611df85484b4b (patch)
tree8c23154afaf1afd78363eb0fa639edd5d8a32821 /cljcc-compiler/src/cljcc/analyze/core.clj
parente458b2fadee1eaf0a6cf4ed4881da6f3f25acc21 (diff)
Refactor files to cljcc-compiler and cli tool.
Diffstat (limited to 'cljcc-compiler/src/cljcc/analyze/core.clj')
-rw-r--r--cljcc-compiler/src/cljcc/analyze/core.clj10
1 files changed, 10 insertions, 0 deletions
diff --git a/cljcc-compiler/src/cljcc/analyze/core.clj b/cljcc-compiler/src/cljcc/analyze/core.clj
new file mode 100644
index 0000000..793b667
--- /dev/null
+++ b/cljcc-compiler/src/cljcc/analyze/core.clj
@@ -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))