Clojure files and Scripts
The clojure
command will take a file name as an argument, evaluated all the Clojure code in that file and return the result. A file is useful for simple Clojure scripts and batch processing jobs.
clojure script.clj
Hint::Babashka - scripting with Clojure
Babashka is a alternative to Bash scripting, using the Clojure language for scripts. Babashka is native compiled using Graal so is very fast.
当前内容版权归 practicalli 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 practicalli .