Questions Concepts
GitHub icon

Emacs Lisp

Emacs Lisp - Programming language

< >

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

#196on PLDB 38Years 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
Comments
; A comment
Line Comments ;
; A comment
Lispy
Semantic Indentation X
MultiLine Comments X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · feedback@pldb.com · Logout