Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Emacs Lisp

< >

Emacs Lisp is an open source programming language created in 1985 by Richard Stallman.

#251on PLDB 39Years Old 1kRepos

Try now: TIO · Replit

Emacs Lisp is a dialect of the Lisp programming language used as a scripting language by Emacs (a text editor family most commonly associated with GNU Emacs and XEmacs). It is used for implementing most of the editing functionality built into Emacs, the remainder being written in C (as is the Lisp interpreter itself). Emacs Lisp is also referred to as Elisp, although there is also an older, unrelated Lisp dialect with that name. Read more on Wikipedia...

Example from hello-world:
(message "Hello World")
Example from Linguist:
(print "Dude!")
Example from Wikipedia:
(defun switch-to-next-window-in-split () (set-window-buffer (next-window) (other-buffer))) (advice-add 'split-window-vertically :before #'switch-to-next-window-in-split)

Language features

Feature Supported Token Example
Strings "
"Hello world"
Print() Debugging print
; A comment
Line Comments ;
; A comment
Semantic Indentation X
MultiLine Comments X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll