User Tools

Site Tools


its_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
its_lisp [2020/04/15 21:07]
smj
its_lisp [2022/05/23 03:10] (current)
ldbeth
Line 2: Line 2:
  
 The ITS Lisp is called Maclisp, or PDP-10 Maclisp if necessary to disambiguate it against [[Multics Maclisp]].  Its direct ancestor is [[its_pdp6_lisp|PDP-6 LISP]]. The ITS Lisp is called Maclisp, or PDP-10 Maclisp if necessary to disambiguate it against [[Multics Maclisp]].  Its direct ancestor is [[its_pdp6_lisp|PDP-6 LISP]].
 +
 +The biggest difference between Multics Maclisp is PDP-10 version does not have "real" string data type, the PDP-10 Maclisp string is just a symbol with a special property been set. The good news is the ''format'' pretty printer function is still available to build strings with complex contents.
  
 **A sample MACLISP session on ITS using LEDIT MODE in EMACS** **A sample MACLISP session on ITS using LEDIT MODE in EMACS**
-//LEDIT will work on both [[its_topics|ITS}} and [[TOPS-20]] ;tnx1.0e6 to GLS//+//LEDIT will work on both [[its_topics|ITS]] and [[TOPS-20]] ;tnx1.0e6 to GLS//
              
       KA ITS 1648 DDT 1547 TTY 52               ;System herald       KA ITS 1648 DDT 1547 TTY 52               ;System herald
Line 83: Line 85:
                                    ; 4. X = D                                    ; 4. X = D
                                    ; 5. X = E                                     ; 5. X = E 
-     NIL                             ; MACLISP reports NIL because the DO called PRINT X which returned NIL+     NIL                             ; DO called PRINT X which returned NIL because there was nothing 
 +                                     ; left to PRINT in the list of "a b c d e" 
 + 
 +**MATH examples** 
 + 
 +     @maclisp
            
 +     LISP 2122
 +     Alloc? n
            
 +      
 +          
 +     (+ 2 2) 
 +     4 
 +     (- 2 2) 
 +     0 
 +     (* 2 2) 
 +     4
its_lisp.1586984827.txt.gz · Last modified: 2020/04/15 21:07 by smj