How To Compile Lisp Program

On

Tutorial for using the IDE to develop Lisp code Writing and Running Lisp Code in the IDE: a TutorialGo to.This tutorial tells you how to immediately begin working on Lisp codein the IDE, without first setting up a project. (A project isnecessary when laying out a user interface interactively, but youwill not be doing that here.)The IDE startup sequence changed significantly between Allegro CL 6.2and Allegro CL 7.0. Therefore the initial instructions for organizingthe IDE for Lisp code only are quite different for the twoversions. Discusses starting AllegroCL 6.2. Discusses starting Allegro CL7.0. Discusses using the IDE for Lispcode after you have started Allegro CL and organized the windows forthat purpose. Applies to both version6.2 and 7.0.1.

Example

How To Compile Lisp Program For Windows 10

Start Allegro CL 6.2Start up the Allegro IDE (Integrated Development Environment) from theWindows Start menu by running Start Programs Allegro CL 6.2 Modern ACL Images Allegro CL 6.2 (w IDE, Modern) or Start Programs Allegro CL 6.2 Modern ACL Images Allegro CL 6.2 (w IDE,ANSI). (If you are using the Trial version, the second may beyour only Allegro choice and some of the submenu items may bedifferent.)Now get rid of a couple of windows that you won't be using. Find thewindow that shows a grid of small dots, and click the close button atthe right end of its title bar. That's awindow where you would interactively create a dialog for anapplication's user interface. Similarly close the window atthe left that shows a table with two columns.

This leaves only two IDEwindows: (1) the one at the top with the IDE menu bar, toolbar, andstatus bar, and (2) the.Tip For Later: To avoid showing a form window and inspector atall when the IDE starts up, see the doc page for.(You'll see below how to find help for a particular symbol.)2. Start Allegro CL 7.0When Allegro CL 7.0 starts up, a modal dialog will appear, asking whether you want to openor create a project. Press the Escape key to proceed without using aproject at all. (Alternately click the dialog's Cancel button.) Youshould now see two windows: one window along the top of the screenthat contains the IDE menu bar, tool bar, and status bar, and anotherwindow called the.3. Using the IDE for Lisp once Allegro CL has startedThe contains a Lisp Listener pane where Lisp expressions may beevaluated, and where printed output appears by default. You canevaluate expressions by typing them at the listener's prompt, and thenpressing the Enter key. (The prompt is the string like 'cg-user(1): 'at the very end of the window's text.)You first need to move the keyboard focus to the prompt.

Compile

You can dothis by clicking on the Debug Window, and then (if needed) clickingagain near the bottom of the listener pane to move the flashing textcursor after the prompt string. Alternately you can use the command (F9). (That notation refers to theDebug Window choice on themenu on the Allegro menu bar at the top of the screen. Its keyboardshortcut is the F9 function key.) That command also generates a freshprompt in case there's unwanted text after the current prompt.

Trypressing the F9 key a couple of times now, and see that a new promptis printed each time.Enter a simple lisp expression such as (+ 3 4) after theprompt, and then press the Enter key. The answer should be printedjust below the expression you entered. If an error dialog appears,just abort from it and try again.