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

New Features of Eli4.0

Previous Chapter Next Chapter Table of Contents

New specification types in PTG

Optional Patterns
In a PTG-Specification rule, optional parts can now be specified. These optional parts will be printed only, if all insertions actually yield output. This can be applied to simplify list construction, see Optional parts of patterns of PTG -- a Pattern-based Text Generator.

Additionally, a pattern-construction-function yields the special value PTGNULL, if its output would be empty. This makes it possible to check a PTGNode for empty output,

PTG now processes it's output by generating applications of a set of output macros. This enables postprocessing the output, e.g. to implement pretty printing or changing output destinations, e.g. to process PTG-Output into an obstack buffer. Applications of this techique are described in the Ptg and the ModLib-documentation, see Influencing PTG Output of PTG - a Pattern-based Text Generator.

See Pretty Printing of Specification Module Library: Generating Output, for an application for the PTG Postprocessing abilities.

Previous Chapter Next Chapter Table of Contents