Package jay.yydebug
jay.
An implementation of yyDebug is passed as
an additional argument to yyparse() to trace a Java-based
parser generated by jay with option -t set.
yyDebugAdapter produces one-line messages,
by default to standard output. The messages are designed to be
filtered by a program such as grep.
yyAnim provides an animation of the parsing
process:
Terminal symbols are displayed in the token field as
they are read by the parser, state/value stack activities are
shown in the stack panel, and a running commentary appears
in the comments area. The text area at the bottom simulates
a terminal if the flags 1 for standard input and/or
2 for standard and diagnostic output are passed to yyAnim.
The parser is stopped if there is an activity in an area with an activated checkbutton. continue will continue the parsing activities.
- Can a skeleton be written which uses the debug interface
to call the action interface created by
pj? - Animation is not (yet?) available for C#.
- Version:
- 1.1.0, August 2004.
-
Interface Summary Interface Description yyDebug debugging interface for parsers generated byjay. -
Class Summary Class Description yyAnim delegates messages to ayyAnimPaneland optionally intercepts standard i/o.yyAnimPanel animates messages with a graphical interface.yyAnimPanel.Stack animates state/value stack.yyDebugAdapter writes one-line messages to standard output or a stream.yyInputStream used to reroute standard input from aTextArea.yyJInputStream used to reroute standard input from aJTextArea.yyPrintStream used to reroute standard and diagnostic output, auto-flushes.