Get rid of Fennel programming

This commit is contained in:
Gerard Vermeulen 2023-04-25 21:12:39 +02:00
parent 3e589723b2
commit 0103313c16

View File

@ -4735,49 +4735,6 @@ byte code:
13 return
#+end_src
** [[https://fennel-lang.org/][Fennel Programming]]
:PROPERTIES:
:CUSTOM_ID: sec:fennel-programming
:END:
Here is a list of links describing how to install and setup [[https://fennel-lang.org/][Fennel]] and how to
install and use [[https://gitlab.com/andreyorst/ob-fennel][ob-fennel]] with the [[https://love2d.org/][LÖVE 2D game engine]]:
1. [[https://fennel-lang.org/][The Fennel Programming Language]]
2. [[https://fennel-lang.org/setup][Setting up Fennel]]
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= 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 -n :results silent
(when (and (executable-find "fennel")
(ensure-package-installation 'fennel-mode))
(unless (package-installed-p 'ob-fennel)
(package-vc-install "https://gitlab.com/andreyorst/ob-fennel"))
(when (package-installed-p 'ob-fennel)
(ensure-package-installation 'ob-fennel)
(set-org-babel-language-activity 'fennel (fboundp 'fennel-mode))))
#+end_src
#+caption[Fennel example]:
#+caption: Fennel example.
#+header: :var x=10 y=20
#+name: lst:fennel-example
#+begin_src fennel -n :eval never-export :results silent :session fennel
(+ 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 -n :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://en.wikibooks.org/wiki/Scheme_Programming][Scheme Programming]]
:PROPERTIES:
:CUSTOM_ID: sec:scheme-programming