   (try (pprint (insta/transform transform-map (lua-parser (slurp "resources/test/break.lua"))))
        (catch Exception ex (clojure.stacktrace/print-stack-trace ex)))
   
-  
+  (try (pprint (insta/transform transform-map (lua-parser (slurp "resources/test/function3.lua"))))
+       (catch Exception ex (clojure.stacktrace/print-stack-trace ex)))
+ 
   (try (pprint (insta/transform transform-map (lua-parser (slurp "resources/test/function2.lua"))))
        (catch Exception ex (clojure.stacktrace/print-stack-trace ex)))
  (pprint (insta/transform transform-map (lua-parser (slurp "resources/test/basic.lua"))))

(defn functiondef-fn [& args]
  (let [fn-args (vec (first (second args)))
        fn-body (second (second args))]
  `(fn ~fn-args ~fn-body)))

(defn tableconstructor-fn [& args]
  (println "table:" args)

  (pprint (lua-parser (slurp "resources/test/function1.lua")))

(def test-fn (eval (insta/transform transform-map (lua-parser (slurp "resources/test/function.lua")))))
((eval (insta/transform transform-map (lua-parser (slurp "resources/test/function3.lua")))))
((eval (insta/transform transform-map (lua-parser (slurp "resources/test/function2.lua")))))
(try 
  ((eval (insta/transform transform-map (lua-parser (slurp "resources/test/function1.lua")))))
