Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

Emacs Lisp

Emacs Lisp - Programming language

< >

Emacs Lisp is a programming language created in 1985 by Richard Stallman.

#185on PLDB 38Years Old 1.6kUsers
0Books 0Papers 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
autoit.html · emacs-lisp.html · xaml.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub · feedback@pldb.com