|
|
|
|
|
by slumos
2366 days ago
|
|
My idea is to extend fennel-mode with a fennel-hs-mode that will take preprocess code by removing newlines[1] and wrapping in something like fennel.eval([=[ (code) ]=])
and then sending to the hs cli.I haven't done much yet; this is the first time I've tried to write a real Emacs mode. It would be much nicer to have a real Fennel REPL integrated in Hammerspoon, but the above would be enough for things like eval-last-sexp and org-babel-eval. [1] Sadly, the hs cli does not handle multi-line strings. |
|