babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
slipset 2020-12-26T10:10:26.390200Z

https://github.com/clj-commons/infra/blob/main/.gitattributes may or may not be well known, but this makes *.bb files be recognised as Clojure by github.

slipset 2020-12-26T10:11:05.390700Z

So no more BlitzBasic for me.

borkdude 2020-12-26T10:11:10.390900Z

Nice! I also found that this works locally (for both emacs and github): https://gist.github.com/borkdude/57984ca1df6c3cf8f302196cb37b0f43#file-grasp_read_string-clj-L2

borkdude 2020-12-26T10:11:41.391500Z

But usually I use .clj for bb scripts

borkdude 2020-12-26T10:11:49.391800Z

because that's what it is

slipset 2020-12-26T10:13:09.392900Z

Do you consider a bb file with a shebang to also be a clojure file? Asking because Iā€™m somewhat unsure myself.

borkdude 2020-12-26T10:13:54.393500Z

I do. You can also invoke it with clojure the_file.clj if you set up the deps correctly

slipset 2020-12-26T10:14:32.393900Z

Right, because #! is a reader-macro comment-line

borkdude 2020-12-26T10:14:42.394300Z

Right

borkdude 2020-12-26T10:15:10.394700Z

But .bb is also fine, it's just more work getting the tooling to recognize it

slipset 2020-12-26T10:15:35.395100Z

For now I think I somewhat like the distinction.

borkdude 2020-12-26T10:15:53.395400Z

Maybe the tooling can account for .bb eventually