mirror of
https://github.com/larstvei/dot-emacs.git
synced 2025-08-30 07:20:12 +00:00
Add geiser-gambit with r5rs support
This commit is contained in:
parent
ccb295f284
commit
528db2e2a4
28
init.org
28
init.org
@ -1624,6 +1624,34 @@
|
||||
|
||||
#+end_src
|
||||
|
||||
*** Scheme
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(use-package geiser-gambit
|
||||
:config
|
||||
|
||||
(defun geiser-r5rs--enter (_remote)
|
||||
"Clear the debugger on entry.
|
||||
The REPL starts in a debug mode. Exit it on entry."
|
||||
",d")
|
||||
|
||||
(defun geiser-r5rs--parameters ()
|
||||
"Return a list with all parameters needed to start Gambit scheme-r5rs."
|
||||
(list "-:d-,r5rs"
|
||||
(expand-file-name "geiser/gambit.scm" geiser-gambit-scheme-dir)
|
||||
"-"))
|
||||
|
||||
(define-geiser-implementation (r5rs gambit)
|
||||
(arglist geiser-r5rs--parameters)
|
||||
(enter-command geiser-r5rs--enter))
|
||||
|
||||
(geiser-activate-implementation 'r5rs)
|
||||
|
||||
(provide 'geiser-r5rs))
|
||||
|
||||
#+end_src
|
||||
|
||||
*** Common lisp
|
||||
|
||||
#+begin_quote
|
||||
|
Loading…
Reference in New Issue
Block a user