EP
Section: Misc. Reference Manual Pages (l)
Updated: 11/11/92
Index
Return to Main Contents
NAME
ep - Eiffel-3 Parser
SYNOPSIS
ep
[
-MEY | -ISE | -SIG
]
[
-bfiq
]
filename
...
ep
[
-MEY | -ISE | -SIG
]
-t
filename
...
DESCRIPTION
By default
ep
parses the source file given by
filename
and generates a readable abstract syntax tree (ast) if the source
file is syntax correct according to the Eiffel-3 syntax as defined in
[1]
and
[2].
If errors occur they are printed on stderr and no tree is generated.
If
filename
does not end with
.e
ep
uses
filename.e
as source file. The file containing the abstract syntax tree is
named after the source file - the suffix
.atr
replacing
.e.
ep
was implemented using the Karlsruhe Toolbox for Compiler Construction
[3].
OPTIONS
Compatibility
- -MEY
-
The default. The syntax check is performed according to
[1]
and
[2].
- -ISE
-
The syntax check is performed according to
[1],
[2]
and deviations as indicated by Eiffel-3 source files provided by ISE.
- -SIG
-
The syntax check is performed according to
[1],
[2],
[4]
and deviations as indicated by Eiffel-3 source files shipped with
SIG Eiffel-3/S 1.2 (beta).
Output Format
- -b
-
A tree in a binary format for further use by the Karlsruhe
Toolbox for Compiler Construction or other tools is generated.
The format is specified in
[6].
The filename suffix is
.btr.
- -f
-
The generated tree is printed on
stdout .
- -i
-
An integrated error listing is generated and placed in
the same directory as the source file. The error listing file
is named after the source file - the suffix .lst replacing .e
in the name of the error listing.
- -q
-
An interactive tree browser
[5],
is activated with the generated tree as input. The user is prompted
to provide one of the following commands:
parent display parent node
quit quit the tree browser
<selector> display specified child (first match)
<selector><space> display specified child (exact match)
All commands can be abbreviated to an unambigous prefix.
-t
No tree is generated if the source is syntax correct. Only errors
are reported.
SEE ALSO
- [1]
-
B. Meyer: Eiffel - The Language. Prentice Hall, Englewood Cliffs, 1992.
- [2]
-
B. Meyer: Eiffel-3 syntax revision, comp.lang.eiffel, July 1992.
- [3]
-
J. Grosch: Toolbox Introduction. Compiler Generation Report No.25,
GMD Forschungsstelle at the University of Karlsruhe, Aug. 1992.
- [4]
-
M. Schweitzer and L. Strether: Eiffel/S: The Compiler, SIG Computer
GmbH, 1st edition, 1991.
- [5]
-
J. Grosch: Ast - A Generator for Abstract Syntax Trees (Revised
Version), Compiler Generation Report No.15, GMD Forschungsstelle at
the University of Karlsruhe, Aug. 1989.
- [6]
-
B. Groeber and O. Langmack: A Compiler Front-End for Eiffel-3,
Report B-92-25, Freie Universitaet Berlin - Institut fuer Informatik, 1992.
BUGS
No known bugs.
Please send questions, comments and error reports to:
Burghardt Groeber
Institut fuer Informatik
FU Berlin
Nestorstr. 8/9
W-1000 Berlin 31
groeber@inf.fu-berlin.de
AUTHORS
B. Groeber
O. Langmack
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- -t
-
-
- SEE ALSO
-
- BUGS
-
- AUTHORS
-
This document was created by
man2html,
using the manual pages.
Time: 03:36:03 GMT, December 07, 2024