>
Just me messing around with elisp. By editing this markdown source file with emacs Iām able to run blocks of elisp (or any language) inline and store the output. It makes for an easy literate programming setup. A fun way to play with lisp.
Lisp was originally created as a practical mathematical notation for computer programs, influenced by (though not originally derived from)[6] the notation of Alonzo Churchās lambda calculus. It quickly became the favored programming language for artificial intelligence (AI) research.[7] As one of the earliest programming languages, Lisp pioneered many ideas in computer science, including tree data structures, automatic storage management, dynamic typing, conditionals, higher-order functions, recursion, the self-hosting compiler,[8] and the readāevalāprint loop.
The name LISP derives from āLISt Processorā. Linked lists are one of Lispās major data structures, and Lisp source code is made of lists. Thus, Lisp programs can manipulate source code as a data structure, giving rise to the macro systems that allow programmers to create new syntax or new domain-specific languages embedded in Lisp.
Here is some sample elisp code.
"\n;; HELLO THIS WAS INSERTED FROM ELISP")
(insert
;; HELLO THIS WAS INSERTED FROM ELISP
";; OUPUT: " (number-to-string (+ 2 2)))
(insert ;; OUPUT: 4
Last edited :- Sat, 09 Apr 2022 16:16:59 BST