This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:lisp [2017/03/10 05:00] papa [Maclisp] |
tutorials:lisp [2022/03/15 05:07] (current) smj |
||
---|---|---|---|
Line 18: | Line 18: | ||
Before running MACLISP, you must define the following logical name: | Before running MACLISP, you must define the following logical name: | ||
- | '' | + | '' |
(You can add the above line to your LOGIN.CMD file to automatically define the logical name for all of you TWENEX sessions.) | (You can add the above line to your LOGIN.CMD file to automatically define the logical name for all of you TWENEX sessions.) | ||
Line 24: | Line 24: | ||
It is also recommended that you create a Maclisp init file ('' | It is also recommended that you create a Maclisp init file ('' | ||
- | | + | ;;; A very typical init file / Emacs mode--> |
(COMMENT) ;magic | (COMMENT) ;magic | ||
(PROGN ; real init file stuff | (PROGN ; real init file stuff | ||
Line 30: | Line 30: | ||
(SETQ NOUUO T *RSET T) ;these make debugging easier | (SETQ NOUUO T *RSET T) ;these make debugging easier | ||
(SSTATUS FEATURE NOLDMSG) ;supress module load messages | (SSTATUS FEATURE NOLDMSG) ;supress module load messages | ||
- | '*) ;return an asterisk for Maclisp to print out'' | + | '*) ;return an asterisk for Maclisp to print out |
=== LEDIT === | === LEDIT === | ||
+ | |||
+ | '' | ||
+ | |||
+ | To use LEDIT: | ||
+ | |||
+ | - Start Maclisp and load your source file. | ||
+ | - Evaluate '' | ||
+ | - Evaluate '' | ||
+ | - Load the source file into Emacs ('' | ||
+ | - View, change, save source with Emacs commands. | ||
+ | - Flag function definitions to update in Maclisp with '' | ||
+ | - Return to Maclisp with '' | ||
===== InterLisp-10 ===== | ===== InterLisp-10 ===== | ||
Line 44: | Line 56: | ||
The dialect was in a rivalry with Maclisp prior to the development of Common Lisp. | The dialect was in a rivalry with Maclisp prior to the development of Common Lisp. | ||
- | ===== References ===== | + | === Set-up |
- | [[http:// | + | If you have set-up your TWENEX session for Maclisp |
+ | ===== References ===== | ||
[[http:// | [[http:// | ||
- | [[http://www.softwarepreservation.org/projects/LISP/book/Weismann_LISP1.5_Primer_1967.pdf|C. Weissman. (1967). Lisp 1.5 Primer | + | [[http://bitsavers.informatik.uni-stuttgart.de/pdf/xerox/interlisp/Interlisp_Reference_Manual_1974.pdf|W. Teitelman. (1974). InterLisp Reference Manual |
- | + | ||
- | ---- | + | |
- | EMACS LEDIT mode | + | [[http://www.softwarepreservation.org/projects/LISP/book/Weismann_LISP1.5_Primer_1967.pdf|C. Weissman. (1967). Lisp 1.5 Primer [Online]. Available: http://www.softwarepreservation.org/ |
- | + | ||
- | //(Is LEDIT another Lisp dialect, or just a TOPS-20 Emacs (non-/pre-GNU/Elisp) mode for editing Lisp source code?)// | + | |
- | + | ||
- | --> //LEDIT is a module for connecting MACLISP & Emacs. You can inspect, edit, & save source in Emacs, then evaluate/ | + | |