User Tools

Site Tools


tutorials:lisp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:lisp [2017/03/10 05:34]
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:
  
-''@DEFINE LISP: <MACLISP>''+''@DEFINE MACLISP: PS:<MACLISP>''
  
 (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 38: Line 38:
 To use LEDIT: To use LEDIT:
  
- - Start Maclisp and load your source file. +  - Start Maclisp and load your source file. 
- - Evaluate ''(LOAD "LISP:LEDIT.FASL")'' (You may add this line to your LISP.INI file and eliminate this step.) +  - Evaluate ''(LOAD "LISP:LEDIT.FASL")'' (You may add this line to your LISP.INI file and eliminate this step.) 
- - Evaluate ''(LEDIT)'' to switch to Emacs. +  - Evaluate ''(LEDIT)'' to switch to Emacs. 
- - View, change, save source with Emacs commands. +  - Load the source file into Emacs (''^X ^F''). 
- - Flag function definitions to update in Maclisp with ''M-Z''+  - View, change, save source with Emacs commands. 
- - Return to Maclisp with ''^X-Z''+  - Flag function definitions to update in Maclisp with ''M-Z''
 +  - Return to Maclisp with ''^X Z''
  
 ===== InterLisp-10 ===== ===== InterLisp-10 =====
Line 55: 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. 
  
 +=== Set-up ===
 +
 +If you have set-up your TWENEX session for Maclisp (see above), you must undefine the logical name ''LISP:'' and set ''@DEFINE INTERLISP PS:<INTERLISP>'' before running InterLisp.
 ===== References ===== ===== References =====
- 
-[[http://bitsavers.informatik.uni-stuttgart.de/pdf/xerox/interlisp/1974_InterlispRefMan.pdf|W. Teitelman. (1974). InterLisp Reference Manual [Online]. Available: http://bitsavers.informatik.uni-stuttgart.de/pdf/xerox/interlisp/1974_InterlispRefMan.pdf]] 
  
 [[http://www.maclisp.info/pitmanual/index.html|K.M. Pitman. (2007, December 16). The Revised Maclisp Manual [Online]. Available: http://www.maclisp.info/pitmanual]] [[http://www.maclisp.info/pitmanual/index.html|K.M. Pitman. (2007, December 16). The Revised Maclisp Manual [Online]. Available: http://www.maclisp.info/pitmanual]]
 +
 +[[http://bitsavers.informatik.uni-stuttgart.de/pdf/xerox/interlisp/Interlisp_Reference_Manual_1974.pdf|W. Teitelman. (1974). InterLisp Reference Manual [Online]. Available: http://bitsavers.informatik.uni-stuttgart.de/pdf/xerox/interlisp/1974_InterlispRefMan.pdf]]
  
 [[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/projects/LISP/book/Weismann_LISP1.5_Primer_1967.pdf]] [[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/projects/LISP/book/Weismann_LISP1.5_Primer_1967.pdf]]
- 
----- 
- 
-EMACS LEDIT mode 
- 
-//(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/run it in MACLISP. It's documented in INFO. There's supposed to be another module to do the same with InterLisp. I'd like to figure out how to use this. -- papa// 
  
tutorials/lisp.1489124091.txt.gz · Last modified: 2017/03/10 05:34 by papa