-
42
pages
-
English
-
Documents
Description
A First Course on Aldor with libaldorPeter Broadbery Manuel BronsteinMarch 8, 20021 Introduction]The Aldor language (formerly known as A and axiomxl) is the language usedby the extension compiler in the Axiom system. It also allows you to createstand-alone executables which may be distributed without Axiom.These notes are not intended to be a complete description of the language, butshow you how to get started with Aldor and how to use the compiler. A morecomplete description is contained in the user guide.You must have libaldor properly installed and compiled before running thistutorial, as well as have your environment variables ALDORLIBROOT, IN-CPATH and LIBPATH properly set. See the libaldor user guide for moreinformation.2 First ContactAlthoughAldor is primarily a compiled language, the use of an interactive inter-preted system is often praised as an aid for the rapid prototyping of programs.To address this need for rapid feedback, the compiler provides an interactiveinterpreter for evaluating expressions in the Aldor language.These notes contain examples of interactive input to the Aldor interpreter.There are three kinds of lines in the text that follows: Lines starting with \>>" represent commands that you can type into theinterpreter (you should not type the \>>" when you type the command). Lines immediately following the input represent the output from the in-terpreter.1 Lines starting with \--" represent comments inAldor and serve ...
-
Publié par
-
Langue
English