[antlr-interest] Visually display the DFA ANTLR generates
Geoffrey Zhu
gzhu at peak6.com
Wed Jun 27 07:09:17 PDT 2007
I just don't know AntlrWorks's fidelity to the actual code. I already
found one case where the ANTLRWorks interpreter works differently from
the actual generated code. Does it read the generated code to build the
graph?
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Randall R Schulz
Sent: Wednesday, June 27, 2007 8:56 AM
To: antlr-interest at antlr.org
Subject: Re: [antlr-interest] Visually display the DFA ANTLR generates
On Wednesday 27 June 2007 06:46, Geoffrey Zhu wrote:
> Does anyone know how to visually display the DFA ANTLR generates?
>
> For example, ANTLR generates the following DFA, but it is just too
> difficult for me to figure out what it is doing.
ANTLworks can show you a graphical representation of the lexer DFA and
of the choice DFA for individual rules. You have to have the GraphViz
package installed so ANLTRworks can invoke its "dot" command.
Randall Schulz
> ...
>
> _______________________________________________________
>
> The information in this email or in any file attached hereto is
> intended only for the personal and confiden- tial use of the
> individual or entity to which it is addressed and may contain
> information that is propri- etary and confidential. If you are not
> the intended recipient of this message you are hereby notified that
> any review, dissemination, distribution or copying of this message is
> strictly prohibited. This communica- tion is for information
> purposes only and should not be regarded as an offer to sell or as a
> solicitation of an offer to buy any financial product. Email trans-
> mission cannot be guaranteed to be secure or error- free. P6070214
Oh, yeah???
Please don't send this nonsense. It's meaningless in a public email
forum.
More information about the antlr-interest
mailing list