From 0321df3708cfa4d1440faf3f407611df85484b4b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 16 Mar 2025 02:00:40 +0530 Subject: Refactor files to cljcc-compiler and cli tool. --- cljcc-compiler/src/cljcc/analyze/core.clj | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cljcc-compiler/src/cljcc/analyze/core.clj (limited to 'cljcc-compiler/src/cljcc/analyze/core.clj') 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)) -- cgit v1.2.3