Reading a file

You may either read a program from an external file into a ctedit by clicking on the button of the File pulldown, or build the program from scratch using guided editing mode.

If you read an external file whose suffix doesn't provide information about which parser to call, Centaur will ask you for a language name. The dialog box contains a history of executed Le-Lisp commands, so you may recover previously entered information by typing <tab>.

If the file you read has any lexical or syntax errors, the parser indicates the line where the error occurs in the Centaur toplevel. You must correct all errors before a file may be read into the Centaur editor. If there are no errors, the text of the file appears in the editor window.


Tutorial