Recommended way to develop a command-line app in Clojure

2021-06-21 Thread Alex Corcoles
I want to develop a CLI tool based on instaparse; basically I want to do: $ instaparse-cli my-grammar.abnf random-file And have that command spout a JSON AST of random-file according to my-grammar. I would like to distribute this in a convenient way for my team-mates, without spending a ton of

Re: Recommended way to develop a command-line app in Clojure

2021-06-21 Thread Alex Corcoles
Actually, while doing some more research I stumbled into: https://github.com/theasp/parseit Which is basically what I want to do- and it points to yet-another-build-tool: https://github.com/thheller/shadow-cljs On Monday, June 21, 2021 at 8:58:18 PM UTC+2 Alex Corcoles wrote: > > I want to dev

Re: Recommended way to develop a command-line app in Clojure

2021-06-21 Thread Christopher Small
If you want quick-running (sans JVM/Clojure startup time) and would rather stick with the JVM Clojure paradigm over Cljs, I'd highly recommend looking at babashka: https://github.com/babashka/babashka The setup is super easy, you get access to a lot of the basic JVM classes, and it comes with

Re: Recommended way to develop a command-line app in Clojure

2021-06-22 Thread Alex Corcoles
On Tuesday, June 22, 2021 at 7:28:09 AM UTC+2 metas...@gmail.com wrote: > If you want quick-running (sans JVM/Clojure startup time) and would rather > stick with the JVM Clojure paradigm over Cljs, I'd highly recommend looking > at babashka: > > https://github.com/babashka/babashka > Thanks! I

Re: Recommended way to develop a command-line app in Clojure

2021-06-23 Thread matthew...@gmail.com
It's also probably worth testing out writing something in "normal" Clojure and compiling it to an uberjar instead of running it via lein / clj, because depending on what "fast" means to you, a normal jar will often fit the bill, since the JVM itself starts in ~100ms. On Wednesday, June 23, 20

Re: Recommended way to develop a command-line app in Clojure

2021-06-23 Thread Alex Corcoles
Hi, On Wednesday, June 23, 2021 at 4:53:04 PM UTC+2 matthew...@gmail.com wrote: > It's also probably worth testing out writing something in "normal" Clojure > and compiling it to an uberjar instead of running it via lein / clj, > because depending on what "fast" means to you, a normal jar will