Getting Started with Dylan

Conversion from DocBook 3.1 (SGML) to DocBook 4.2 (XML). : Brent Fulgham

Abstract

Getting Started with Dylan introduces Apple Computer's Dylan ™ programming language. Dylan ™ is a object-oriented dynamic language designed for efficient compilation. It uses an algebraic infix syntax similar to Pascal or C, but supports an object model not unlike the Common Lisp Object System (CLOS).

This tutorial is written primarily for those with solid programming experience in C++ or another object-oriented static language. It provides a gentler introduction to Dylan ™ than does the Dylan Reference Manual , although it refers to the latter book frequently.


Table of Contents

1. Why Dylan ?
Dynamic vs. Static Languages
Functional Languages
Algebraic Infix Syntax
Object Orientation
Garbage Collection
Why Not Dylan?
2. Expressions & Variables
Naming Conventions
True and False
The Nature of Variables
Assignment, Equality and Identity
parallel Values
Type Declarations
Module Variables and Constants
3. Methods & Generic functions
parameters & parameter Lists
Return Values
Bare Methods
Local Methods
Generic functions
Keyword Arguments
4. Objects
Built-In Classes
Slots
Getters and Setters
Generic functions and Objects
Initializers
Abstract Classes and Overriding Make
5. Multiple Dispatch
Dispatching on Specific Objects
6. Modules & Libraries
Simple Modules
Import Options
Libraries
A Sample Set of Libraries
Sealing
7. Conditions
Blocks

List of Figures

4.1. Several Standard Dylan Classes
6.1. Dependencies Among the Standard Mindy Libraries

List of Tables

2.1. Naming Conventions
6.1. Standard Mindy Libraries and Modules