[antlr-interest] Visually display the DFA ANTLR generates

Micheal J open.zone at virgin.net
Wed Jun 27 12:21:46 PDT 2007


Hi,

> I just don't know AntlrWorks's fidelity to the actual code.

AntlrWorks uses ANTLR.

> 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?

It uses ANTLR for it's interpretation and detailed grammar analysis. The
difference in behaviour is *documented* behaviour when using the ANTLR
interpreter (directly or within AntlrWorks).

Micheal

-----------------------
The best way to contact me is via the list/forum. My time is very limited.

> -----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