Languages Features Calendar About Lists Add Language
GitHub icon

Emacs Lisp

Emacs Lisp

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

#83on PLDB 37Years Old 1.6kUsers
0Books 0Papers

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 code from hello-world:

(message "Hello World")

Example code from Linguist:

(print "Dude!")

Example code 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 Example Token
"Hello world"
Print() Debugging print
; A comment
Line Comments
; A comment
Semantic Indentation ϴ
MultiLine Comments ϴ

Trending Emacs Lisp repos on GitHub

repo stars description
spacemacs 18408 "A community-driven Emacs distribution - The best editor is neither Emacs nor Vim it's Emacs *and* Vim!"
doom-emacs 3698 An Emacs configuration for the stubborn martian vimmer
emacs.d 5135 An Emacs configuration bundle with batteries included
prelude 4207 Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
Stanford-CS-229-CN 2019 A Chinese Translation of Stanford CS229 notes 斯坦福机器学习CS229课程讲义的中文翻译
lsp-mode 1763 Emacs client/library for the Language Server Protocol
snails 160 "A modern easy-to-expand fuzzy search framework"
melpa 1850 Recipes and build machinery for the biggest Emacs package repo
use-package 2763 A use-package declaration for simplifying your .emacs
emacs 2058 Mirror of GNU Emacs

Article source

PLDB - Build the next great programming language · v2022 · Docs · Acknowledgements · Email · GitHub