3 ms·
Ad-hoc ClojureScript scripting of Mac applications
- mannycalavera42 5y agodoes it mean I can finally stop copy-pasting hammerspoon scripts (can't be bored learning lua) and start writing my own? love it
- mateuszf 5y agoThe readme says: experimental
- capableweb 5y agoWhich means different things for different people :) "Experimental" for me means: ready to start playing around with, adopt if helpful "Experimental" for my company means: Too early to adopt as a corner-stone technology At this stage, I think most things in the Babashka ecosystem are "Experimental" currently (correct me if I'm wrong @borkdude :) ) but that haven't stopped me from migrating all my bash/sh scripts to it already.
- vasac 5y agoCheck Fennel [0] - a Lisp like language that can be compiled to Lua. You'll still have to learn a bits of Lua as Fennel uses its data structures but that's small compromise for being able to interface with Hammerspoon or use all Lua libs. [0] https://fennel-lang.org/ https://fennel-lang.org/
- pdpi 5y agoJXA has been around for a few years so you can already use JavaScript for scripting. Hammerspoon is “just” a convenience layer on top of the same OSA functionality used by AppleScript, JXA and this project.
- iansinnott 5y agoWas initially not super thrilled because the problem with Apple script via JS is not JS syntax. However, both bb and nbb support repl development so I bet you could get a repl running here too. This could be very helpful for Apple scripting if you could see the effects or failures of your script immediately via repl.