Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Emacs Lisp
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Compared to other Lisp dialects== Emacs Lisp is most closely related to [[Maclisp]], with some later influence from [[Common Lisp]].<ref>"GNU Emacs Lisp is largely inspired by [[Maclisp]], and a little by Common Lisp. If you know Common Lisp, you will notice many similarities. However, many features of Common Lisp have been omitted or simplified in order to reduce the memory requirements of GNU Emacs. Sometimes the simplifications are so drastic that a Common Lisp user might be very confused. We will occasionally point out how GNU Emacs Lisp differs from Common Lisp." β from the "History" section of the "Introduction" to the Emacs Lisp Manual, as of Emacs 21</ref> It supports [[procedural programming|imperative]] and [[functional programming]] methods. Lisp was the default extension language for Emacs derivatives such as [[EINE and ZWEI]]. When [[Richard Stallman]] forked [[Gosling Emacs]] into GNU Emacs, he also chose Lisp as the extension language, because of its powerful features, including the ability to treat functions as data. Although the Common Lisp standard had yet to be formulated, [[Scheme (programming language)|Scheme]] existed at the time but Stallman chose not to use it because of its comparatively poor performance on workstations (as opposed to the [[minicomputer]]s that were Emacs' traditional home), and he wanted to develop a dialect which he thought would be more easily optimized.<ref>"So the development of that operating system, the GNU operating system, is what led me to write the GNU Emacs. In doing this, I aimed to make the absolute minimal possible Lisp implementation. The size of the programs was a tremendous concern. There were people in those days, in 1985, who had one-megabyte machines without virtual memory. They wanted to be able to use GNU Emacs. This meant I had to keep the program as small as possible." β from [https://www.gnu.org/gnu/rms-lisp.html "My Lisp Experiences and the Development of GNU Emacs"]</ref> The Lisp dialect used in Emacs differs substantially from the more modern Common Lisp and Scheme dialects used for applications programming. A prominent characteristic of Emacs Lisp is in its use of dynamic rather than lexical [[scope (computer science)|scope]] by default. That is, a function may reference local variables in the scope it is called from, but not in the scope where it was defined. Recently, there has been an ongoing effort to update code to use lexical scoping, for reasons outlined below. {{Lisp}}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Emacs Lisp
(section)
Add topic