Allegro CL Certification Program

8/1/2005


Click here to start


Table of Contents

Allegro CL Certification Program

About Franz Inc.

Format of the Course

Getting Allegro Common Lisp

Getting Documentation

Documentation in the Integrated Development Environment (IDE)

Allegro CL Certification Program

History of Lisp

History of Lisp, cont�d

Lists

Starting Allegro CL with the IDE

Count-digits-of-factorial

factorial

compute-list-of-occurrences

print-data

Results

Results 2

Adding code to a lisp session

Loading a file into a lisp session

Loading a function into a lisp session

Compiling a lisp file

Compiling and loading a lisp file

Compiling and loading a lisp file cont�d

Compiling and loading a lisp file

Dynamic Programming Language

Myths About Lisp

More Lisp Myths

Lisp Syntax

Examples of Lisp Syntax

Lists are used to define and call functions

Lisp includes a large and extensible number of types of objects

Lisp Data types

Program Data is Freed Automatically

Evaluation

Evaluation cont�d

Self-Evaluating Objects

Evaluation of a list

Evaluation of a list cont�d

Evaluation of a function call

Try Out the Evaluator

A Symbol is a Lisp Object

print representation of a symbol

ANSI Lisp is Case-Insensitive

Evaluating a Symbol

t and nil

Quote

Using Symbols

symbol and variable creation

Two Kinds of Variables

local variable creation Local variable creation

let

Binding

Local variables have lexical scope

special variable creation

special variable creation 2

special variable creation 3

Why Use a Special Variable?

Special variables have dynamic extent

Example of let binding a special

macros and special operators

setting the value of a variable

Variable Assignment Using setq and setf

Program Data is Typed, Variables are NOT typed

ANSI Lisp is Case-Insensitive cont�d

Function Definitions

Function definition

Function definition optional arguments

Function definition keyword arguments

Function definition rest arguments

Specifying &optional and &key arguments

3 element list specification of &optional or &key argument

Function definition lambda-list keywords

Data Equality

arithmetic functions take all appropriate numeric arguments

Creating Lists

printed output

printed output cont�d

printed output cont�d 2

Input

Output

Summary

Allegro CL Certification Program

Delivering Applications

Downloading Patches

What's On My Bookshelf

More On My Bookshelf

More Books

Class Information

Author: David Tan

Email: [email protected]

Home Page: http://franz.com