Difference between revisions of "Scheme"

From WikEmacs
Jump to navigation Jump to search
(change the structure)
Line 24: Line 24:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
=== Minor Mode for editing Scheme ===
+
== Minor Mode for editing Scheme ==
  
 
* [http://mumble.net/~campbell/emacs/paredit.el ParEdit] is a mode for structured editing of [[S-expression]]s. Useful with any Lisp.
 
* [http://mumble.net/~campbell/emacs/paredit.el ParEdit] is a mode for structured editing of [[S-expression]]s. Useful with any Lisp.

Revision as of 13:29, 29 March 2012

Emacs has built-in Scheme Mode. It provides basic features, such as syntax highlighting etc.

Implementation

Guile

Guile is the GNU Ubiquitous Intelligent Language for Extensions, the official extension language for the GNU operating system.

Racket

formerly known as PLT Scheme

Major Mode for editing Scheme

Geiser

Geiser is a collection of Emacs major and minor mode, that can help Emacs to communicate to a foreign Scheme interpreter. It provides SLIME-like support for Racket and Guile.

Example config may look like this:

(defun turn-on-parenthesis-goodies () (rainbow-delimiters-mode 1) (paredit-mode 1))
(add-hook 'scheme-mode-hook 'turn-on-parenthesis-goodies)
(load-file "C:/path-to-geiser/elisp/geiser.el")
(setq geiser-active-implementations '(racket))
(setq geiser-racket-binary "C:/path-to-racket/racket.exe")
(require 'quack)

Minor Mode for editing Scheme

  • ParEdit is a mode for structured editing of S-expressions. Useful with any Lisp.
  • RainbowDelimiters highlights parentheses, brackets, and braces according to their depth, each level in a different colour. Also available in ELPA.


Useful Links