Eli   Documents Get Eli: Translator Construction Made Easy at SourceForge.net.
    Fast, secure and Free Open Source software downloads

General Information

 o Eli: Translator Construction Made Easy
 o Global Index
 o Frequently Asked Questions
 o Typical Eli Usage Errors


 o Quick Reference Card
 o Guide For new Eli Users
 o Release Notes of Eli
 o Tutorial on Name Analysis
 o Tutorial on Type Analysis
 o Typical Eli Usage Errors

Reference Manuals

 o User Interface
 o Eli products and parameters
 o LIDO Reference Manual
 o Typical Eli Usage Errors


 o Eli library routines
 o Specification Module Library

Translation Tasks

 o Lexical analysis specification
 o Syntactic Analysis Manual
 o Computation in Trees


 o LIGA Control Language
 o Debugging Information for LIDO
 o Graphical ORder TOol

 o FunnelWeb User's Manual

 o Pattern-based Text Generator
 o Property Definition Language
 o Operator Identification Language
 o Tree Grammar Specification Language
 o Command Line Processing
 o COLA Options Reference Manual

 o Generating Unparsing Code

 o Monitoring a Processor's Execution


 o System Administration Guide

Mail Home

Eli User Interface Reference Manual

Previous Chapter Next Chapter Table of Contents

Execute Commands

A command that includes an exclamation point (!) requests Eli to execute a host command. In its most general form, such a command consists of an odin-expression followed by an exclamation-point and a host-command line. Either the odin-expression or the host-command can be omitted:

-> input +cmd=(sets.specs:exe) :stdout !more -s
-> ! ls *.c
-> build.specs :exe !
-> commands !

The result of the command is to bring the object named by the odin-expression up to date, append its filename to the host-command line, and give the resulting extended host-command line to the host system for execution.

If the host-command is omitted, the object itself is executed. If execute permission is set for the object, it is given to the host operating system for execution; otherwise, the object is assumed to contain eli commands that are executed by the interpreter.

The exclamation-point has the special lexical property that if the first non-white space character following it is not a colon, a semicolon, or an equal sign, then the rest of the line is treated as a single escaped sequence of characters. This avoids the confusion resulting from interactions between host-command and Eli character escape conventions. A leading colon, equal sign, or white space character can be included in the escaped sequence of characters by preceding it with a backslash.

Previous Chapter Next Chapter Table of Contents