From c6031c37bfc22be97dd3ef9f5f540f7db6a5f1f6 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Wed, 26 Apr 2023 11:30:06 +0200 Subject: [PATCH] Reorganize the Programming Language Mode section --- README.org | 63 ++++++++++++++++++++++-------------------------------- 1 file changed, 25 insertions(+), 38 deletions(-) diff --git a/README.org b/README.org index 84f646a..5f26fac 100644 --- a/README.org +++ b/README.org @@ -4735,47 +4735,12 @@ byte code: 13 return #+end_src -** [[https://en.wikibooks.org/wiki/Scheme_Programming][Scheme Programming]] +** [[https://go.dev/][Go Programming]] :PROPERTIES: -:CUSTOM_ID: sec:scheme-programming +:CUSTOM_ID: sec:go-programming :END: -- [[https://wiki.call-cc.org/emacs#using-chicken-with-emacs][Using Chicken Scheme with Emacs]] - -#+begin_src shell -n -# https://gitlab.com/emacs-geiser/chicken -# Install the necessary support eggs: -chicken-install -s apropos chicken-doc srfi-18 srfi-1 -# Update the Chicken documentation database: -cd $(csi -R chicken.platform -p '(chicken-home)') -curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz | sudo tar zx -#+end_src - -#+begin_src emacs-lisp -n -(when (ensure-package-installation 'geiser 'geiser-chez 'geiser-chicken - 'geiser-mit) - (setopt geiser-chez-binary (executable-find "chez"))) -#+end_src - -** [[https://www.lua.org/][Lua Programming]] -:PROPERTIES: -:CUSTOM_ID: sec:lua-programming -:END: - -#+caption[Install =lua-mode= in case of =Lua=]: -#+caption: Install =lua-mode= in case of =Lua=. -#+name: lst:install-lua-mode -#+begin_src emacs-lisp -n :results silent -(when (and (executable-find "lua") - (ensure-package-installation 'company-lua 'lua-mode))) -#+end_src - -#+caption[Lua example]: -#+caption: Lua example. -#+name: lst:lua-example -#+begin_src lua -n :results silent :var x=10 y=20 -return (x+y) -#+end_src +1. [[https://gobyexample.com/][Go by example]] ** [[info:maxima#Top][Maxima Programming (info)]] :PROPERTIES: @@ -5596,6 +5561,28 @@ configures =code-cells=. (keymap-set map "C-c C-c" #'code-cells-eval)))) #+end_src +** [[https://en.wikibooks.org/wiki/Scheme_Programming][Scheme Programming]] +:PROPERTIES: +:CUSTOM_ID: sec:scheme-programming +:END: + +- [[https://wiki.call-cc.org/emacs#using-chicken-with-emacs][Using Chicken Scheme with Emacs]] + +#+begin_src shell -n +# https://gitlab.com/emacs-geiser/chicken +# Install the necessary support eggs: +chicken-install -s apropos chicken-doc srfi-18 srfi-1 +# Update the Chicken documentation database: +cd $(csi -R chicken.platform -p '(chicken-home)') +curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz | sudo tar zx +#+end_src + +#+begin_src emacs-lisp -n +(when (ensure-package-installation 'geiser 'geiser-chez 'geiser-chicken + 'geiser-mit) + (setopt geiser-chez-binary (executable-find "chez"))) +#+end_src + *** TODO Look into: editing facilities 1. [[https://github.com/douglasdavis/numpydoc.el/blob/main/numpydoc.el][Emacs extension to insert numpy style docstrings in function definitions]]