From b50ace5ae890bc43b3d12aeba189af51a50018a1 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sun, 30 Oct 2022 18:48:47 +0100 Subject: [PATCH] Start documenting how to install Fennel on Darwin --- README.org | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 263411a..d59f011 100644 --- a/README.org +++ b/README.org @@ -3987,8 +3987,8 @@ install and use [[https://gitlab.com/andreyorst/ob-fennel][ob-fennel]] with the 3. [[https://gitlab.com/andreyorst/ob-fennel][Org Babel support for the Fennel language: ob-fennel]] 4. [[https://andreyorst.gitlab.io/posts/2022-09-26-reproducible-research-with-org-mode-fennel-and-love/][Reproducible Research with Org Mode, Fennel, and LÖVE]] -#+caption[Install =fennel-mode= and =ob-fennel= in case of =Fennel=]: -#+caption: Install =fennel-mode= and =ob-fennel= in case of =Fennel=. +#+caption[Install =fennel-mode= and =ob-fennel= when =fennel= is an executable]: +#+caption: Install =fennel-mode= and =ob-fennel= when =fennel= is an executable. #+name: lst:install-ob-fennel-mode #+begin_src emacs-lisp (when (and (executable-find "fennel") @@ -4006,6 +4006,16 @@ install and use [[https://gitlab.com/andreyorst/ob-fennel][ob-fennel]] with the (+ x y) #+end_src +#+caption[Install =Fennel= with luarocks on Darwin]: +#+caption: Install =Fennel= with luarocks on Darwin. +#+name: lst:install-fennel-on-darwin +#+begin_src shell :eval never :results silent :tangle no + luarocks \ + install --local readline \ + HISTORY_INCDIR=/usr/local/opt/readline/include \ + HISTORY_DIR=/usr/local/opt/readline/lib +#+end_src + ** [[https://www.lua.org/][Lua Programming]] :PROPERTIES: :CUSTOM_ID: sec:lua-programming