[Next] [Previous] [Up] [Top] [Contents] [Index]

Chapter 2: A Brief Tour of MCL

The MCL editor, Fred

Macintosh Common Lisp includes a powerful editor, Fred. Based on Emacs, Fred ("Fred Resembles Emacs Deliberately") includes the usual Macintosh editing features, such as multiple windows and mouse-based editing. In addition it includes a sophisticated set of features designed specifically for editing Lisp. Among these are parenthesis matching, smart indentation, and Lisp expression-oriented keyboard commands.

Moreover, because Fred is written in MCL, it is fully programmable: you can change its keymappings, change the behavior of existing commands, and add new commands.

In the next few sections, you will learn how to do the following:

  • Create a new Fred window.
  • Edit text in the window.
  • Execute expressions in the window.
  • Navigate through the text of the window.
  • Save your work to a file on disk.

  • In doing this, you'll create a dialog box that asks your name and prints it out, along with a greeting.

    Creating a Fred window
    Executing expressions in a Fred window
    Lisp-based editing
    Saving source code to a file
    Getting help on Fred commands

    Gettmg Started with MCL - 19 OCT 1996
    [Next] [Previous] [Up] [Top] [Contents] [Index]

    Generated with Harlequin WebMaker