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

New Features of Eli Version 4.1

Previous Chapter Next Chapter Table of Contents


Command-line processing

The command-line processing tool has been rewritten to use a more flexible implementation technique. In the process some erroneous situations that weren't detected before are now detected.

Most notably, in previous versions when a positional parameter was specified no usage message was printed if the user did not provide a value for the parameter. This has been fixed.

Repeated boolean options are now a count of the number of times the option appears rather than a list of keys each of which have the value 1. This is a potential source of incompatibility with previous versions.

The new version also provides some new features, described in the following paragraphs.

Previously it was possible to have an integer or string value that was either the next argument or was joined to the option string. I.e., the following were possible

-#23
-m foo

It is now possible to have an option where the value can be either the next argument or can be joined to the option string. This is indicated by the keyword "with".

MacroPackage "-m" with strings "Load this macro package";
NumCols "-C" with int "Use this many colours";
NumZaps "-z" with ints "Zap this many times";

It is now possible to have more than one option string that invokes a particular option. Just list more than one string.

MacroPackage "-m" "mac" with strings "Load this macro package";
NumZaps "-z" "-Zap" "whammo" ints "Zap this many times";

Empty .clp files are now acceptable. The resulting processor will accept standard input, but nothing on the command line.


Previous Chapter Next Chapter Table of Contents