Repository navigation
Conversation
|
Staging preview for this pull request is available at https://interlisp.org/Interlisp.staging/pr-362/ |
| In Interlisp, Peter Deutsch developed a byte-coded instruction set for Interlisp on the Xerox D-machines: Dandelion, Dolphin, and Daybreak. It gave those personal machines a compact Lisp implementation; at the time they were still too underpowered for Lisp development, which motivated the client-server window system in which Interlisp ran on a time-shared PDP-10 and an Alto served as the display. For Deutsch's byte-coded instruction set, see the [1976 Timeline entry](/history/timeline/#1976). | ||
|
|
||
| <span id="car-cdr-accessors" data-tooltip="The primitive Lisp accessors for the first element and rest of a list, or the left and right halves of a dotted pair."></span>CAR/CDR accessors | ||
| : CAR and CDR are the primitive accessors for a Lisp list cell: CAR returns the first element, or the left half of a dotted pair, and CDR returns the rest of the list, or the right half. Compositions such as CADR, CDDR, and CADDR abbreviate nested calls, so CADR returns the first element of the rest of a list. |
There was a problem hiding this comment.
the primitive accessors for a Lisp list cell
Cons cell?
There was a problem hiding this comment.
CONS(x, y) creates a new list cell... Is it sufficient to leave the conversation at the level of lists and neglect construction?
What may be a better long term approach is link directly into the new version of the IRM that is being constructed. So, in the future add a sentence to the second paragraph along the lines of," [Section 2.5 LISTS0(link to IRM) discusses in detail lists and list cells in Medley."
| <span id="car-cdr-accessors" data-tooltip="The primitive Lisp accessors for the first element and rest of a list, or the left and right halves of a dotted pair."></span>CAR/CDR accessors | ||
| : CAR and CDR are the primitive accessors for a Lisp list cell: CAR returns the first element, or the left half of a dotted pair, and CDR returns the rest of the list, or the right half. Compositions such as CADR, CDDR, and CADDR abbreviate nested calls, so CADR returns the first element of the rest of a list. | ||
|
|
||
| In Interlisp, all 30 combinations of CAR and CDR up to four levels deep are provided, and the compiler compiles them open. The accessors also behave distinctively on atoms: CAR of a literal atom returns its top-level value, and CDR returns its property list. Chains such as CADADDR made programs hard to read, which motivated the Record package's named field accessors. For the Record package and those accessor chains, see the [1974 Timeline entry](/history/timeline/#1974). |
There was a problem hiding this comment.
CAR of a literal atom returns its top-level value, and CDR returns its property list.
(CDR 'INIT) returns the error INIT is not a LIST., not the property list.
There was a problem hiding this comment.
I dropped the sentence, "The accessors also behave distinctively on atoms: CAR of a literal atom returns its top-level value, and CDR returns its property list. " Keying off Matt's comment, maybe this is too much detail for a glossary entry.
| <span id="clos" data-tooltip="An object-oriented extension of Common Lisp that provides classes, instances, generic functions, methods, and multiple inheritance."></span>CLOS | ||
| : CLOS, the Common Lisp Object System, is the object-oriented extension to Common Lisp. It provides classes and instances, generic functions and methods, multiple inheritance, and method combination. A generic function dispatches on the classes of its arguments to select applicable methods, so behavior can be specialized per class without changing the caller. CLOS also has an associated metaobject protocol for customizing the object system itself. | ||
|
|
||
| In Interlisp, CLOS and its metaobject protocol were included in Medley 2.0, alongside the older LOOPS object-oriented system. Medley's CLOS implementation also supplied a class browser. For Medley 2.0's CLOS and MOP support, see the [1992 Timeline entry](/history/timeline/#1992). |
There was a problem hiding this comment.
CLOS and its metaobject protocol were included in Medley 2.0
It may have been included earlier.
There was a problem hiding this comment.
My AI based research came back with this:
I found evidence that CLOS/PCL was available on Medley before 1992, but only as something users fetched, built, or loaded—not as part of an earlier official release.
Evidence of earlier availability
- In GitHub discussion #1473, Tim reports using Medley around 1989–1992 and says that “things like loop and CLOS (in the form of PCL) were things you fetched and built.”
- Larry Masinter points to PCL and the Medley repository’s clos/ folder.
- Arun Welch says he “maintained the PCL port” as Medley’s ownership passed from XAIS to Venue to Envos.
- The Medley CLOS source README says it is “based on the ’91 PCL,” but describes loading it as a separate package into Medley 3.5.
- The CMU AI repository lists 1992 PCL versions with an EnvOS Medley port.
- Medley 1.0 release notes from 1988 mention CLOS terminology—“more like CLOS’ DEFCLASS”—but do not say CLOS was included.
Evidence about release inclusion
- The local Timeline’s 1992 entry remains the clearest dated statement tying CLOS and MOP to Medley 2.0.
- The available Medley 2.0 introduction is a user primer and does not mention CLOS, PCL, or MOP; it also points to separate release notes that I could not locate.
- I did not find a dated source showing CLOS/PCL bundled in an earlier Medley release.
Bottom line
There is good evidence that users could obtain and build a PCL port on Medley before 1992. I would not describe it as included in an earlier release without stronger release documentation. The current wording—“included in Medley 2.0”—is the safest statement unless you want to add a nuance such as “PCL/CLOS had been available earlier as an add-on.”
| <span id="garbage-collector" data-tooltip="The part of a Lisp implementation that automatically reclaims storage occupied by objects no longer reachable from the running program."></span>Garbage collector | ||
| : A garbage collector is the part of a Lisp implementation that automatically reclaims storage occupied by objects that are no longer reachable from the running program, making that space available for new objects. It lets programs allocate lists and other structures without explicitly freeing them. Different strategies trade collection time against pause time and memory overhead. | ||
|
|
||
| Interlisp used more than one strategy. Interlisp-10 uses mark-and-sweep, chasing pointers from the push-down lists and atom components, reclaiming fixed-length data through free lists, and compacting variable-length data; Interlisp-D uses reference counting, which never reclaims circular structures and does not collect atoms. Bobrow's transaction garbage collector was one of Interlisp's architectural advances. A collection can be started with `RECLAIM`, and `MINFS` or `RECLAIMMIN` controls how much free storage is maintained. For BBN's continued garbage-collector support after Bobrow and Teitelman left, see the [1972 Timeline entry](/history/timeline/#1972). |
There was a problem hiding this comment.
A collection can be started with
RECLAIM, andMINFSorRECLAIMMINcontrols how much free storage is maintained.
I can't find A MINFS form IN IRM. RECLAIMMIN sets the frequency of collections.
There was a problem hiding this comment.
MINFS doesn't appear to be defined in any Medley source code, but it is called in MAKEINIT and HPRINT and LLNEW!!!
There was a problem hiding this comment.
Here's what I have from the IRM:
- MINFS controls free storage
- Oct. 1974 manual, §3.13–3.14 and §10.16.
- Oct. 1983 manual, §22.10: “(MINFS N TYPE) … Sets the minimum amount of free storage which will be maintained by the garbage collector…”
I have the '83 version of the IRM and the statement tracks accurately.
There was a problem hiding this comment.
I guess the glossary could just mention that the GC controls changed over the years, and MINFS is no longer part of the system. We might be able to identify when it was dropped, but it's certainly not part of Medley today.
There was a problem hiding this comment.
I'll just drop the sentence, "A collection can be started with RECLAIM, and MINFS or RECLAIMMIN controls how much free storage is maintained." It's starting to feel like an unneeded level of detail and correctness is a matter of which version of Interlisp you're looking at.
There was a problem hiding this comment.
Checking further, the calls of MINFS are either explicitly under (SYSTEMTYPE) of either TENEX or TOPS20, or if neither D nor ALTO. Would there be any value to cleanup to remove all such code that will never be called? (Separate issue for medley repo...)
| <span id="interlisp-vax"></span>Interlisp-VAX | ||
| : Implementation of Interlisp for Digital Equipment Corporation VAX systems. | ||
|
|
||
| <span id="iterative-statement" data-tooltip="An Interlisp looping construct written with operator words such as FOR, WHILE, UNTIL, COLLECT, and SUM and translated into an equivalent Interlisp form."></span>Iterative statement |
There was a problem hiding this comment.
looping construct
I'd prefer iteration construct as the Iterative Statement is more general than loops.
There was a problem hiding this comment.
I'll change it to 'iterative construct' - I think its different enough from iterative statement that I'm not using the word in the definition.
There was a problem hiding this comment.
the glossary should contain words a.nd phrases that are actually used.... no one used "iterative construct" so it isn't better
| <span id="time-sharing" data-tooltip="A computing arrangement in which multiple users or tasks share one computer concurrently, each receiving brief slices of processor time."></span>Time-sharing | ||
| : Time-sharing is a computing arrangement in which multiple users or tasks share one computer concurrently, each receiving brief slices of processor time so that each appears to have the machine to itself. It made interactive development practical: users could edit, run, and debug programs from terminals while the machine served other users. It was originally motivated by making more efficient use of an expensive computer, but it also dramatically shortened the edit-run-debug cycle. | ||
|
|
||
| Interlisp was designed for time-sharing use. BBN-LISP ran on the DEC PDP-10 under TENEX, a paged time-sharing system, and time-sharing shaped Interlisp's interactive style: users worked online with the editor, debugger, and Programmer's Assistant instead of submitting jobs offline. For BBN's move to a time-sharing SDS 940, see the [1967 Timeline entry](/history/timeline/#1967). |
There was a problem hiding this comment.
time-sharing shaped Interlisp's interactive style
Time sharing? (without dash)
There was a problem hiding this comment.
I've seen it spelled 'time-sharing', 'time sharing' and 'timesharing'. I believe the preferred spelling is 'time-sharing'. I think the timeline and glossary are consistent,I'll double check.
| ### Organizations | ||
|
|
||
| <span id="arpa" data-tooltip="A U.S. Department of Defense agency that funded advanced computing and artificial-intelligence research."></span>ARPA | ||
| : ARPA, the Advanced Research Projects Agency, was a U.S. Department of Defense agency that funded research in computing and artificial intelligence, including the development and distribution of Lisp systems. Its contract support made a Lisp implementation available to a community of research sites rather than to a single laboratory. |
There was a problem hiding this comment.
Was ARPA's scope broader than computing and AI?
There was a problem hiding this comment.
@pamoroso - Yes. Wikipedia has a decent page on DARPA: https://en.wikipedia.org/wiki/DARPA
There was a problem hiding this comment.
I'll make some edits here to clean this up.
|
Some of these are just oddly wrong -- CAR and CDR of LITATOMS don't give you the top-level value and property list. While that may have been true in BBN-Lisp, it's certainly NOT true in Medley. |
The debugger is the debugger. The debugger appears in a window, known as a break window, when an error occurs or a user-specified breakpoint is reached. |
I had to go and look that up, so the glossary is not doing its job. It's the "draft proposed American National Standard" for Common Lisp. Larry might be able to say something about why people refer to the "draft proposed" version (last publicly available??). Also see https://blog.matroid.org/display/79 for some more current info on the naming... |
I'd reverse the two sentences. |
Bobrow and Deutsch? (https://people.cs.umass.edu/~emery/classes/cmpsci691s-fall2004/papers/p522-deutsch.pdf) |
|
In the "Interlisp" entry, I would put all the language variants first, and leave the fact that we're "Interlisp.org" and the fact that we have a github "organization" to later (if I mentioned it at all). |
|
DCOM, DFASL, LCOM -- all extensions used for Interlisp compiled files, in slightly different formats. DFASLs support Common Lisp, DCOMs predate the Common Lisp implementation, LCOMs were introduced in the Lyric Interlisp-D release, and remain the format used by the Interlisp compiler (as distinct from the newer compiler that also compiles Common Lisp). This explanation needs work... |
I'd put it more like: A C implementation of the functionality of the D-machine microcode, and the interface to a host operating system. Originally written for the Sun Microsystems SunOS on SPARC CPUs, subsequently ported to other operating systems and little-endian CPUs. |
Where do we mention SDL such that it needs a (not particularly helpful) expansion of the acronym? |
This is rather confusing. Yes, BBN worked on Lisp on the SDS 940, but the time sharing OS for the SDS 940 was from Berkeley, was it not? |
I wouldn't say "or just PARC". There must be a better way to say something like: Xerox PARC, the Xerox Palo Alto Research Center, often referred to as "PARC", ... |
| <span id="car-cdr-accessors" data-tooltip="The primitive Lisp accessors for the first element and rest of a list, or the left and right halves of a dotted pair."></span>CAR/CDR accessors | ||
| : CAR and CDR are the primitive accessors for a Lisp list cell: CAR returns the first element, or the left half of a dotted pair, and CDR returns the rest of the list, or the right half. Compositions such as CADR, CDDR, and CADDR abbreviate nested calls, so CADR returns the first element of the rest of a list. | ||
|
|
||
| In Interlisp, all 30 combinations of CAR and CDR up to four levels deep are provided, and the compiler compiles them open. The accessors also behave distinctively on atoms: CAR of a literal atom returns its top-level value, and CDR returns its property list. Chains such as CADADDR made programs hard to read, which motivated the Record package's named field accessors. For the Record package and those accessor chains, see the [1974 Timeline entry](/history/timeline/#1974). |
There was a problem hiding this comment.
Chains such as CADADDR made programs hard to read,
5 level CAR/CDR abbreviation combinations never existed in Interlisp. (In any LISP?)
Also, the behavior of CAR/CDR of a non-list (other than NIL) is defined by the value of IL:CAR/CDRERR. That's TMI for the glossary, but documented and controllable. (But I recall seeing cases where it doesn't behave as documented...)
| - L. Peter Deutsch and Edmund C. Berkeley. The LISP Implementation for the PDP-1 Computer. March 1964, pages 326-375 in Berkeley and Bobrow. [PDF](https://www.softwarepreservation.org/projects/LISP/book/III_LispBook_Apr66.pdf#page=336): Describes Basic PDP-1 LISP in detail, including full PDP-1 assembly language source code. | ||
|
|
||
| The introduction of time-sharing in the mid-60s changed the paradigm of software development. Instead of the developer doing their debugging offline, users could now interact directly with their program online. Time-sharing was originally developed as a way of making more efficient and economic use of a very expensive computer, but it also had the surprising side-effect of drastically reducing the amount of time it took to get a program working. Users experiencing this phenomenon reported that it was because they did not have to lose and then reestablish context so frequently, but could get very deep into their programs and the problems they presented, and stay there. The situation is analogous to trying to resolve an issue between two people via a conversation rather than sending letters back and forth. Regardless of how short the cycle of iteration is, e.g., if email is used instead of letters, if the process involves discovery and a lot of back-and-forth, it is much easier to do via a conversation. You could establish a context and stay focused until the problem was solved. | ||
| The introduction of [time-sharing](/history/glossary/#time-sharing) in the mid-60s changed the paradigm of software development. Instead of the developer doing their debugging offline, users could now interact directly with their program online. Time-sharing was originally developed as a way of making more efficient and economic use of a very expensive computer, but it also had the surprising side-effect of drastically reducing the amount of time it took to get a program working. Users experiencing this phenomenon reported that it was because they did not have to lose and then reestablish context so frequently, but could get very deep into their programs and the problems they presented, and stay there. The situation is analogous to trying to resolve an issue between two people via a conversation rather than sending letters back and forth. Regardless of how short the cycle of iteration is, e.g., if email is used instead of letters, if the process involves discovery and a lot of back-and-forth, it is much easier to do via a conversation. You could establish a context and stay focused until the problem was solved. |
There was a problem hiding this comment.
All occurrences, stay consistent with time-sharing hyphenation, or not, with glossary entry (comment there).
I removed the sentence causing the confusion. |
I'll modify the text. |
There are a number of terms that should be dropped, Larry mentioned Interlisp-360 last week. My initial focus has been to add missing terms. Next up is clarifying some of the existing entries. And, lastly, we'll flush the entries that add nothing. |
|
Staging preview for this pull request is available at https://interlisp.org/Interlisp.staging/pr-362/ |
5573d17 to
e3292a5
Compare
|
Staging preview for this pull request is available at https://interlisp.org/Interlisp.staging/pr-362/ |
masinter
left a comment
There was a problem hiding this comment.
i'm afraid there are too many errors in this pass.
In Interlisp, Peter Deutsch developed a byte-coded instruction set for Interlisp on the Xerox D-machines: Dandelion, Dolphin, and Daybreak. It gave those personal machines a compact Lisp implementation; at the time they were still too underpowered for Lisp development, which motivated the client-server window system in which Interlisp ran on a time-shared PDP-10 and an Alto served as the display. For Deutsch's byte-coded instruction set, see the 1976 Timeline entry.
This is just confusing; it causes the reader to deduce different order of implementation, which is necessary for proper historical reference.
When Peter designed the compact instruction set to start with, the system he was working on was for the Alto and often called "Alto Lisp". He and Willie Sue Haugland worked on Alto Microcode. There was no D machine at the time. THe first non-ALto port of ALto Lisp was for the Dorado. That was called "Dorado Lisp" sometimes. THere were no other D-machines at the time. Anyway, this kind of problem are likely halucinations of whatever AI came up with these definitions.
This PR adds the next set of 10 glossary terms.
It includes the glossary terms, defined as two paragraphs of text, each with a tool tip, links back into the timeline and, if appropriate, links into the bibliography. The timeline has been updated to link to these new glossary terms.
The text was AI generated. I asked it to validate all statements against source material, but I am not an expert so review would be appreciated.