Fork me on GitHub
#babashka-sci-dev
<
2022-03-11
>
Jakub20:03:10

Hi, Michiel told me there is some Liz discussion going on 🙂 With macros I didn't see an option that I really like, so I've been holding off. Also Zig comptime feature is quite powerful, so it might turn out one could get away without macros for most cases. First approach would be to write them in clojure/sci, which would be similar approach using a different language like cljs does, but the gap is much larger between the languages, so it could end up confusing. Second approach would be to have them self-hosted, but data manipulation would not be as convenient.

Jakub21:03:51

But I am using macros internally for builtin forms, so maybe as a an experiment we could expose it in a way that one could override bindings and invoke the compiler manually from Clojure.