You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/software/using-medley/_index.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ aliases:
11
11
- /using-medley/
12
12
- /medley/using/
13
13
- /medley/using/docs/medley/orientation/
14
+
- /medley/using/docs/medley/
14
15
---
15
16
16
17
Whether you're just getting started or refreshing your knowledge of Interlisp, we have a variety of documentation to help you along.
@@ -28,7 +29,7 @@ Most of these resources were created decades ago when Medley was a research syst
28
29
29
30
#### Introductory material
30
31
31
-
1.[The Basics of Interlisp](/software/Using.html). Essential information on the Interlisp language and the differences with Common Lisp.
32
+
1.[The Basics of Interlisp](/software/using-medley/cl-intro). Essential information for the Common Lisp programmer on the Interlisp language and the differences with Common Lisp.
32
33
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.
33
34
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
35
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.
Copy file name to clipboardExpand all lines: content/en/software/using-medley/cl-using.md
+18-19Lines changed: 18 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,18 @@
1
1
---
2
-
title: The Basics of Interlisp
3
-
url: /software/Using.html
2
+
title: Interlisp Basics for Common Lisp Programmers
3
+
url: /software/using-medley/cl-using/
4
4
type: docs
5
-
weight: 2
5
+
weight: 20
6
+
aliases:
7
+
-
6
8
---
9
+
## Interlisp Basics for Common Lisp users
7
10
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 includes some basics.
9
12
10
13
## Interlisp
11
14
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.
21
16
22
17
### Upper- and Lower Case
23
18
@@ -29,12 +24,14 @@ the READ function in Common Lisp translates.
29
24
30
25
Most Interlisp primitives are upper case.
31
26
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.
38
35
39
36
### Variables
40
37
@@ -98,6 +95,8 @@ Unlike Common Lisp, Interlisp does not have a special function for
98
95
defining macros. Macros are defined by placing their definition on
99
96
the property list of the symbol.
100
97
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
+
101
100
## Medley Common Lisp
102
101
103
102
The term "Common Lisp" covers a range of development stages, first
0 commit comments