Skip to content

Commit 7dbc50e

Browse files
authored
Merge pull request #197 from Interlisp/using-update
move Using.md to using-medley and update documentation
2 parents 235d610 + 1c6a47e commit 7dbc50e

File tree

2 files changed

+37
-33
lines changed

2 files changed

+37
-33
lines changed

content/en/software/using-medley/_index.md

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ aliases:
1111
- /using-medley/
1212
- /medley/using/
1313
- /medley/using/docs/medley/orientation/
14+
- /medley/using/docs/medley/
1415
---
1516

1617
Whether you're just getting started or refreshing your knowledge of Interlisp, we have a variety of documentation to help you along.
@@ -28,38 +29,42 @@ Most of these resources were created decades ago when Medley was a research syst
2829

2930
#### Introductory material
3031

31-
1. [The Basics of Interlisp](/software/Using.html). Essential information on the Interlisp language and the differences with Common Lisp.
32-
1. [Medley for the Novice](https://interlisp.org/documentation/Medley-Primer.pdf) (also known as Medley Primer). An introductory guide to the basics of Medley such as executing commands, using menus and files, manipulating windows, editing and saving Lisp code, using the development tools, and more. Read it in full. The code in chapter 20 "Free Menus" doesn't work and some illustrations are missing.
32+
Items marked with are at temporary locations, likely to change.
33+
34+
1. [Interlisp Basics for Common Lisp](/software/using-medley/cl-using).
35+
If you are familiar with Common Lisp, this guide points out some differences.
36+
1. [Medley for the Novice](/documentation/Medley-Primer.pdf) (also known as Medley Primer). An introductory guide to the basics of Medley such as executing commands, using menus and files, manipulating windows, editing and saving Lisp code, using the development tools, and more. Read it in full. The code in chapter 20 "Free Menus" doesn't work and some illustrations are missing.
3337
1. [SEdit — The Lisp Editor](https://drive.google.com/file/d/12LW5zCZauJvC63NRMJhjNv5qJkuuCflb/view?usp=sharing). The manual of SEdit, the default Lisp code editor.
34-
1. [LispCourse notes](https://interlisp.org/pub-pdfs/lispcourse/lispcourse.pdf). The notes of a beginner course on the Interlisp environment that goes from the basics of interacting with the system to programming in Lisp. Highly recommended. Skip the sections on printing and the network as modern Medley doesn't fully implement the described functionality. The formatting of the text is partially broken and some sections are missing.
38+
1. [LispCourse notes](https://interlisp.org/pub-pdfs/lispcourse/lispcourse.pdf). The notes of a beginner course on the Interlisp environment that goes from the basics of interacting with the system to programming in Lisp. Highly recommended. Skip the sections on printing and the network as modern Medley doesn't fully implement the described functionality. The formatting of the text is partially broken and some sections are missing.
3539

3640
#### Advanced material
3741

38-
1. [INTERLISP: The Language and Its Usage](https://interlisp.org/documentation/1986-interlisp-language-book-1.pdf). An extensive book on the Interlisp language, a prerequisite for accessing the full functionality of Medley from Lisp. Some of the material is about early Interlisp versions that differ from Medley. You may skip the chapters on the Interlisp TTY editor, DWIM, and Conversational Lisp (CLISP).
39-
1. [Medley Language Reference](https://interlisp.org/documentation/IRM.pdf) (also known as Interlisp Reference Manual). The reference documentation on the Interlisp language, the application platform, and the development environment. The chapters on the Interlisp language are highly recommended. You may skip the chapters on DWIM and CLISP. Some chapters are duplicated, others are missing.
40-
1. [Medley Interlisp: Interactive Programming Tools](https://interlisp.org/documentation/2021-interlisp-book-3.pdf). Using the development tools and applications. Skip the chapter on DEdit as the tool was replaced by SEdit, the current default Lisp code editor.
42+
1. [INTERLISP: The Language and Its Usage](/documentation/1986-interlisp-language-book-1.pdf). An extensive book on the Interlisp language, a prerequisite for accessing the full functionality of Interlisp. Some of the material prepared in 1986 about earlier Interlisp versions and differs from Medley. You may skip the chapters on the Interlisp TTY editor, DWIM, and Conversational Lisp (CLISP).
43+
1. [Medley Language Reference](/documentation/IRM.pdf) (also known as Interlisp Reference Manual). The reference documentation on the Interlisp language, the application platform, and the development environment. The chapters on the Interlisp language are highly recommended. You may skip the chapters on DWIM and CLISP. Some chapters are duplicated, others are missing.
44+
1. [Medley Interlisp: Interactive Programming Tools](/documentation/2021-interlisp-book-3.pdf). Using the development tools and applications. Skip the chapter on DEdit as the tool was replaced by SEdit, the current default Lisp code editor.
4145
1. [Medley Interlisp: The Interactive Programming Environment](https://interlisp.org/documentation/20211225-interlisp-book-2.pdf). Accessing from Lisp the facilities and tools of the Medley environment such as windows, menus, fonts, and image streams.
4246

4347
### Unsorted documentation content
4448

4549
Most Interlisp/Medley documentation was written using the Medley Text Editor, one of the first WYSIWYG graphical user interface text editors, called TEdit. Written in and for Interlisp users, it features muliple fonts, embedded graphics including line drawings and raster images.
4650

47-
TEdit files are scattered through the various Interlisp repositories. For the convenience of those who would rather read the files using more modern tools, see the files from different Medley Interlisp repositories, [converted to PDF](https://drive.google.com/drive/folders/10ZBQty5gEwdBnZHtEbXfe5f1dHGziGZG?usp=sharing). NOTE: This is not a permanent location!
48-
51+
TEdit files are scattered through the various Interlisp repositories. For the convenience of those who would rather read the files using more modern tools, see the files from different Medley Interlisp repositories, [converted to PDF](https://drive.google.com/drive/folders/10ZBQty5gEwdBnZHtEbXfe5f1dHGziGZG?usp=sharing).
52+
4953
For the searcher's conveneience, these have also been combined into searchable PDFs named All-*-PDFs.pdf.
5054

51-
### Medley Interlisp References
55+
### Medley References
56+
57+
- [Medley Primer](/documentation/Medley-Primer.pdf)
58+
- [Medley for the Sun Workstation User's Guide](/documentation/SunUserGuide.pdf)
5259

53-
- <a href="SunUserGuide.pdf">Medley for the Sun Workstation User's Guide</a>
54-
- <a href="Medley-Primer.pdf">Medley Primer</a>
5560
<!-- - <a href="1992-02-An_Introduction_to_Medley_Release_2.0.pdf">Introduction to Medley, Release 2.0</a> -->
5661

5762
#### Exported Medley Documentation
5863
These documents were converted from Medley's internal format into PDFs. Watch out for weird formatting, but these are firsthand sources on Medley features and applications.
5964

60-
- [Medley Internal Documentation PDF](https://interlisp.org/documentation/All-Medley-PDFs.pdf)
61-
- [Notecards Documentation PDF](https://interlisp.org/documentation/All-Notecards-PDFs.pdf)
62-
- [LOOPS Documentation PDF](https://interlisp.org/documentation/All-Loops-PDFs.pdf)
65+
- [Medley Internal Documentation PDF](/documentation/All-Medley-PDFs.pdf)
66+
- [Notecards Documentation PDF](/documentation/All-Notecards-PDFs.pdf)
67+
- [LOOPS Documentation PDF](/documentation/All-Loops-PDFs.pdf)
6368

6469

6570
### Interlisp Books

content/en/software/using-medley/Using.md renamed to content/en/software/using-medley/cl-using.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
11
---
2-
title: The Basics of Interlisp
3-
url: /software/Using.html
2+
title: Interlisp Basics for Common Lisp users
3+
url: /software/using-medley/cl-using/
44
type: docs
5-
weight: 2
5+
weight: 20
6+
aliases:
7+
-
68
---
9+
## Interlisp Basics for Common Lisp users
710

8-
A few basics -- enough to get you started from the Medley User's Guide of ~30 years ago.
11+
If you are familiar with Common Lisp, this guide helps with some unexpected features.
912

1013
## Interlisp
1114

12-
Interlisp is a dialect of Lisp and as such, it is based on the familiar
13-
syntax of left-parenthesis, function name, arguments, and
14-
right-parenthesis. Besides many of the functions having different
15-
names and arguments compared to Common Lisp, Interlisp has many other,
16-
more fundamental, differences from Common Lisp. While this section
17-
will not go into any of the functional differences between Interlisp
18-
and Common Lisp, it will attempt to detail the more fundamental
19-
differences between the two. The reference manual may be used for a
20-
detailed description of the Interlisp functions.
15+
Interlisp is a dialect of Lisp and as such, it is based on the familiar syntax of left-parenthesis, function name, arguments, and right-parenthesis. Besides many of the functions having different names and arguments compared to Common Lisp, Interlisp has many other, more fundamental, differences from Common Lisp. While this section will not go into any of the functional differences between Interlisp and Common Lisp, it will attempt to detail the more fundamental differences between the two. The reference manual may be used for a detailed description of the Interlisp functions.
2116

2217
### Upper- and Lower Case
2318

@@ -29,12 +24,14 @@ the READ function in Common Lisp translates.
2924

3025
Most Interlisp primitives are upper case.
3126

32-
As a side note, the Medley system includes a package called DWIM (Do
33-
What I Mean). This system reads in what you type and attempts to
34-
automatically correct input errors. At times, in an effort to correct
35-
typing errors this system will auto-convert something you type in
36-
lowercase into uppercase. Thus it may appear that the case doesn't
37-
matter - but it does.
27+
As a side note, the Medley system includes feature called DWIM (Do
28+
What I Mean). When code would ordinarily cause an error to occur,
29+
DWIM first attempts to correct the error, e.g., by spelling correction
30+
on variables and function names. In many situations DWIM will ask the
31+
user to approve the change, but in some situations (like evaluating
32+
a typed in variable using the wrong case-shift). DWIM will just
33+
make the change, printing out that what it did.
34+
It may appear that the case doesn't matter - but it does.
3835

3936
### Variables
4037

@@ -98,6 +95,8 @@ Unlike Common Lisp, Interlisp does not have a special function for
9895
defining macros. Macros are defined by placing their definition on
9996
the property list of the symbol.
10097

98+
Medley handling of macros is different: from a Common Lisp point of view, Interlisp "macros" are treated as compiler-optimizers (if the symbol has a function definition) or as (Common Lisp) macros.
99+
101100
## Medley Common Lisp
102101

103102
The term "Common Lisp" covers a range of development stages, first

0 commit comments

Comments
 (0)