ArticleslgStudy

computer science

Apple Dylan

Apple Dylan is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Apple Dylan rather than just read about it. In short: Apple Dylan is the original implementation of the programming language Dylan. It was developed by Apple Computer from 1992 to 1995.

Key takeaways

  • Apple Dylan belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Apple Dylan to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Apple Dylan from memory before moving on to harder problems.

Reference excerpt

Apple Dylan is the original implementation of the programming language Dylan. It was developed by Apple Computer from 1992 to 1995. Dylan was developed at Apple Cambridge, formerly Coral Software, developers of Macintosh Common Lisp. The original language had much in common with Lisp, including its parenthetical S-expression syntax. For a time, it was developed with the intent of being the primary language of the Apple Newton. When that project was ordered into production earlier than expected, Dylan was not ready for release. A new operating system for the Newton was written in C++. Dylan was then repositioned as a desktop programming system for the classic Mac OS. This led to a major change in syntax to a more C-like infix notation syntax, apparently at the prompting of a group at Carnegie Mellon University, to make it more appealing to programmers familiar with other languages. The resulting system was making progress when development was canceled in April 1995. Work continued for another six months to produce the Apple Dylan Technology Release. It was released at the 1996 WWDC show as the first and only official Apple version of the system.

Development environment

Apple Dylan includes a dynamic, integrated development environment inspired by Smalltalk, Macintosh Common Lisp (MCL), and Think C, and originally codenamed Hula. Like Think C, but unlike Smalltalk and Lisp, it draws a clear distinction between the development environment and the program being developed. It does this by linking code, called a stub, into the target program, allowing the integrated development environment (IDE) to communicate with it (to inject code, perform introspection, etc.), without sharing a runtime system environment with the IDE. The IDE includes Binder (a tool for configuring browsers), a source database, a definition database, incremental compiling, a cross-platform source debugger, profiling tools, and an interface builder. The basic browser window in the Apple Dylan environment is Binder. A Binder window consists of one or more linked panes. Each pane has an input, an output, an aspect, and a presentation style. A pane's input is the output of another pane: a pane displays information about the selected object(s) in its input pane. Aspects are properties of the input, such as source code, contents, callers, readers, writers, references or compiling warnings. This information can be presented in an outline or a graph. Inputs, aspects and styles can be used to construct replicas of the Smalltalk source browser, or static call graphs, or ad hoc displays such as the callers of readers of variables that the selected function writes. All views are live: recompiling a function updates any displays that include its who-calls information, for example. The outline view includes visual indicators that display whether a source record has unsaved changes, has changed since it was last compiled, or has compiler-generated messages (warnings and errors).

User interface framework Apple Dylan includes a graphical user interface (GUI) framework, written in Dylan by Mike Lockwood. The framework is tightly integrated with a WYSIWYG (What You See Is What You Get) interface builder code-named Meccano, written by Robin Mair. The interface builder is linked into an application, allowing users to switch between Edit and Run modes while the application is running. Decorators are represented as graphical objects that can be dragged onto a user interface object to modify its behavior or appearance via object composition.

Implementation The core of Apple Dylan is implemented in Macintosh Common Lisp, upon which the rest is implemented in Dylan. The Apple Cambridge office started as an acquisition of Coral Software, the developers of Macintosh Common Lisp. When Dylan was retargeted from the ARM processor of the Newton, to the desktop Macintosh, the back end was modified to use APPLEX, a portable assembler designed by Wayne Loofbourrow's team at Apple in Cupertino.

See also History of the Dylan programming language

References

External links from Oliver Steele from Open Dylan "Last day at Apple/End of the Dylan project"

Worked examples

Example 1 — a first encounter with Apple Dylan

Start with the simplest possible case. Write down what Apple Dylan claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Apple Dylan before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Apple Dylan ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Apple Dylan

In research
Apple Dylan appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Apple Dylan in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Apple Dylan is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classic Mac OS-only software, Classic Mac OS-only software made by Apple Inc., Classic Mac OS programming tools, so understanding it makes those chapters shorter.
In everyday life
Look for Apple Dylan outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Apple Dylan” →

How to study Apple Dylan in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Apple Dylan means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Apple Dylan out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Apple Dylan in simple terms?

Apple Dylan is the original implementation of the programming language Dylan. It was developed by Apple Computer from 1992 to 1995.

Why does Apple Dylan matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Apple Dylan?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Apple Dylan.

Tags

  • Classic Mac OS-only software
  • Classic Mac OS-only software made by Apple Inc.
  • Classic Mac OS programming tools
  • Common Lisp (programming language) software
  • Compilers
  • Dylan (programming language)
  • Integrated development environments

Keep exploring