Fork me on GitHub
#clojure-nl
<
2020-06-18
>
kwrooijen09:06:36

Morning! Working on generating a database structure with Integrant / HoneySQL, and generating rows with Malli

borkdude09:06:35

HoneySQL is cool. I recently added support in babashka so it can be used as a library there

kwrooijen10:06:20

Yeah I find HoneSQL amazing

kwrooijen10:06:38

I love how you can create partial queries, and add more later on

kwrooijen10:06:52

Very reusable

kwrooijen10:06:01

And data driven is always a + for me

kwrooijen10:06:26

By the way, I was wondering (since you mentioned Babashka)

kwrooijen10:06:47

Is it possible to create a new executable with babashka? So basically I write a small script for bb, and then package it up? Or would I be better off using GraalVM with a clojure repo?

borkdude10:06:42

I think it's easier to make a bash script which installs bb if it's not there and use that as a pre-amble. There is a project here which tries to convert bb scripts into a GraalVM native: https://github.com/MnRA/nativity

kwrooijen10:06:35

Ah cool, I'll take a look at that

Mno12:06:07

That one only works for very simple scripts, and is a bit quirky

Mno12:06:30

Also mornin'