Reorganize the Programming Language Mode section
This commit is contained in:
parent
27a8b03fa5
commit
c6031c37bf
63
README.org
63
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]]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user