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. --- src/cljcc/symbol.clj | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/cljcc/symbol.clj (limited to 'src/cljcc/symbol.clj') diff --git a/src/cljcc/symbol.clj b/src/cljcc/symbol.clj deleted file mode 100644 index c410dac..0000000 --- a/src/cljcc/symbol.clj +++ /dev/null @@ -1,50 +0,0 @@ -(ns cljcc.symbol) - -;; Contains functions related to symbol table manipulation. - -(defn create-symbol [type attribute] - {:type type - :attribute attribute}) - -(defn local-attribute [] - {:type :local}) - -(defn static-attribute [initial-value global?] - {:type :static - :initial-value initial-value - :global? global?}) - -(defn fun-attribute [defined? global?] - {:type :fun - :defined? defined? - :global? global?}) - -(defn no-initializer-iv [] - {:type :no-initializer}) - -(defn tentative-iv [] - {:type :tentative}) - -(defn initial-iv [static-init] - {:type :initial - :static-init static-init}) - -(defn int-init [v] - {:type :int-init - :value v}) - -(defn uint-init [v] - {:type :uint-init - :value v}) - -(defn long-init [v] - {:type :long-init - :value v}) - -(defn ulong-init [v] - {:type :ulong-init - :value v}) - -(defn double-init [v] - {:type :double-init - :value v}) -- cgit v1.2.3