Difference between revisions of "Scheme"

From WikEmacs
Jump to navigation Jump to search
m
m (Reverted edits by 37.59.80.67 (talk) to last revision by 149.156.119.184)
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Emacs has built-in Scheme Mode. It provides basic features, such as syntax highlighting etc.
+
Scheme is a programming language of the [[:Category:Lisp|Lisp]] family. Praised for its minimalist design, Scheme is [[lexical scope|lexcially scoped]], requires tail-call optimization and pioneered first class continuations.
  
[http://www.neilvandyke.org/quack/ Quack] by Neil Van Dyke greatly extends Emacs support for Scheme language. Check the comments in the {{File|.el}} file for the installation instructions.
+
using color schemes to hint at ctxneot is usefulAgreed.  beyond that: you are totally crazyCorey?  Crazy?  Agreed. It should always be black on whiteBah. Green on black. White as a background is just more strain on the eyes.
  
Other goodies may include:
+
== Major 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.
 
* [https://github.com/jlr/rainbow-delimiters RainbowDelimiters] highlights parentheses, brackets, and braces according to their depth, each level in a different colour. Also available in [[ELPA]].
 
  
== Racket ==
+
* [[Scheme-mode]]
 +
* [[Geiser]]
 +
* [[Quack]]
  
? So what is Racket ?
+
== Minor Mode for editing Scheme ==
  
[http://www.nongnu.org/geiser/ Geiser] is the mode. Provides [[SLIME]]-like support for Racket and Guile. The site also contains good documentation.
+
* [[Paredit]] is a mode for structured editing of [[S-expression]]s. Useful with any Lisp.
 
+
* [[Rainbow_delimiters]] highlights parentheses, brackets, and braces according to their depth, each level in a different colour. Also available in [[ELPA]].
Example config may look like this:
 
<syntaxhighlight lang="lisp">
 
(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)
 
</syntaxhighlight>
 
  
 
== Useful Links ==
 
== Useful Links ==

Latest revision as of 19:40, 24 June 2012

Scheme is a programming language of the Lisp family. Praised for its minimalist design, Scheme is lexcially scoped, requires tail-call optimization and pioneered first class continuations.

using color schemes to hint at ctxneot is usefulAgreed. beyond that: you are totally crazyCorey? Crazy? Agreed. It should always be black on whiteBah. Green on black. White as a background is just more strain on the eyes.

Major Mode for editing Scheme

Minor Mode for editing Scheme

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

Useful Links