Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. Artificial Intelligence Lab Publications
  4. AI Memos (1959 - 2004)
  5. PDP-6 IAP

PDP-6 IAP

Thumbnail Image
Download
Name

AIM-152.pdf

Size

421.64 KB

Format

Adobe PDF

Checksum (MD5)

f2065185c03c573f4afc95d4905555f2

Thumbnail Image
Download
Name

AIM-152.ps

Size

3.58 MB

Format

PostScript

Checksum (MD5)

24123cf51fb5c086dd92a97dab544613

Author(s)
White, John L.
Date Issued
January 1, 1968
Series/Report no.
AIM-152
Abstract
LAP is a LISP FEXPR (or FSUBR when compiled) which is executed primarily for its side effect??ely assembling a symbolic listing into core as a machine language subroutine. As such, it is about the most convenient and rapid way for a LISP user to add machine language primitives to the LISP system, especially if the function in question are in a developmental stage and are reasonably small (e.g. 1-500 instructions). Also, the LISP compiler currently gives its results as a file of LAP code, which may then be loaded into core by IAP. Virtually any function definition, whether by DEFPROP, LABEL, or LAP is an extension of LISP's primitives; and as in any actual programming language, the side-effects and global interactions are often of primary importance. Because of this, and because of the inherently broader range of machine instructions and data formats, a function quite easily described and written in PDP-6 machine language may accomplish what is only most painfully and artificially written in LISP. One must, then, consider the total amount of code in each language to accomplish a given task, the amount of commentary necessary to clarify the intent of the task given the program (in this sense, LISP code rates very high??ajor benefit of the confines of LISP is that a good program serves as its own comment, and usually needs no further elucidations), and other considerations of programming convenience.
Persistent DSpace Link
http://hdl.handle.net/1721.1/6158
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.