[Next] [Previous] [Up] [Top]

2.2 Running the compiler

2.2.3 Compiler commands

This section describes the major Vortex compiler commands. The following notation is used:

More commands are described in Sections 2.3, 2.4, and 2.5. This manual describes only the more common commands; a complete list of commands and their brief descriptions can be obtained by using the help command. Multiple commands separated by semicolons can be given on the same line.

A string typed at the Vortex prompt is interpreted as follows. If it starts with a word that matches one of the compiler commands, such as make, that command is executed. Otherwise, if the first word matches an option name, such as optimize, the value of the option is displayed or modified (section 2.4 describes options). Otherwise, the string is evaluated as a Cecil expression, statement, or declaration (section 4 describes the evaluator). If the evaluator does not recognize the string as a valid Cecil construct, it reports an error.


[2] If the filename doesn't already have the default extension, then the filename with the default extension appended is searched for first. If this filename isn't located in the current source search path (see section 2.4.3 about the source_paths option), then the filename as given by the user is searched for. For example, lang Cecil; make foo.bar first searches for a file named foo.bar.cecil, and if this fails then searches for a file named foo.bar.