Eli   Documents

General Information

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

Tutorials

 o Quick Reference Card
 o Guide For new Eli Users
 o Release Notes of Eli
 o Tutorial on Name Analysis
 o Tutorial on Scope Graphs
 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

Libraries

 o Eli library routines
 o Specification Module Library

Translation Tasks

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

Tools

 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

Administration

 o System Administration Guide

Mail Home

Eli User Interface Reference Manual

Previous Chapter Next Chapter Table of Contents


Extracting and Editing Objects

A command that includes an angle bracket (> or <) requests Eli to copy the contents of a specified object into another object. The copy is performed only if the status level of the specified object is no lower than WARNING (see Status of Objects). The destination of the copy must be a source object, because only source objects can be directly modified by a user.

There are two forms of the copy odin-command: copy-to, indicated by a right-angle-bracket >, and copy-from, indicated by a left-angle-bracket <. Examples of these two odin-commands are:

-> sets.specs +debug :exe > prog
-> prog < sets.specs +debug :exe

If the destination object is a directory, the label of the specified object is used to name the new copy. The label of a source file is the last component of the pathname of the source file. The label of a derived object is source-label.type-name where type-name is the name of the output type of the tool that produced it (see Top of Products and Parameters) and source-label is the label of the source file from which it is derived. For example, the label of /usr/src/sets.specs is sets.specs and the label of /usr/src/sets.specs:exe is sets.specs.exe.

If a list is copied into a directory, each element of the list is copied individually into the directory.

Copying to Standard Output

If the destination object is omitted from a copy-to odin-command, the specified object is displayed on the current standard output device. For example, the odin-command:

-> sets.con >

displays the file named sets.con.

Editing with the Copy Command

If only the destination object is specified in a copy-from odin-command, the specified object is given to the host-system editor indicated by the $EDITOR environment variable (see Environment Variables) with the vi editor the default. For example, if the value of the $EDITOR variable is emacs, then the following odin-command invokes the emacs editor on the file prog.c.

-> prog.c <


Previous Chapter Next Chapter Table of Contents