Start documenting how to install Fennel on Darwin

This commit is contained in:
Gerard Vermeulen 2022-10-30 18:48:47 +01:00
parent 0d84b83834
commit b50ace5ae8

View File

@ -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