Discussion:
ANTLRWorks 1.4.3 doesn't show DFAs, but dependency graph is working
Alexander Kostikov
2012-11-28 18:33:05 UTC
Permalink
Hi,

I'm trying to get DFAs visualization for rules in ANTLRWorks. I've set
path to graphvis dot.exe and I see that graph is successfully
generated and shown for rule dependencies but when I'm trying to get a
graph for DFAs, I get "Operation in progress" "Generating..." dialog
that never closes by itself.

Here is what is not working:
- Grammar - Highlight Decision DFA - select marker - Show Decision DFA
- Grammar - Show Tokens DFA
- Grammar - Show Tokens Syntax Diagram (but this item fails
differently - it doesn't show any dialog at all).

Looking at the process activity through SysInternals Process Monitor I
see that dot.exe does get called.

Is there a way to see DFAs in ANTLRWorks?

-- Alexander

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
Eric
2012-11-28 18:56:34 UTC
Permalink
It's a known bug latest version (1.4.3 ?) use version a previous version
(1.4.2)
Post by Alexander Kostikov
Hi,
I'm trying to get DFAs visualization for rules in ANTLRWorks. I've set
path to graphvis dot.exe and I see that graph is successfully
generated and shown for rule dependencies but when I'm trying to get a
graph for DFAs, I get "Operation in progress" "Generating..." dialog
that never closes by itself.
- Grammar - Highlight Decision DFA - select marker - Show Decision DFA
- Grammar - Show Tokens DFA
- Grammar - Show Tokens Syntax Diagram (but this item fails
differently - it doesn't show any dialog at all).
Looking at the process activity through SysInternals Process Monitor I
see that dot.exe does get called.
Is there a way to see DFAs in ANTLRWorks?
-- Alexander
List: http://www.antlr.org/mailman/listinfo/antlr-interest
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
Alexander Kostikov
2012-11-28 20:32:30 UTC
Permalink
Thanks! I confirm that 1.4.2 produces the DFAs.
Post by Eric
It's a known bug latest version (1.4.3 ?) use version a previous version
(1.4.2)
On Wed, Nov 28, 2012 at 1:33 PM, Alexander Kostikov
Post by Alexander Kostikov
Hi,
I'm trying to get DFAs visualization for rules in ANTLRWorks. I've set
path to graphvis dot.exe and I see that graph is successfully
generated and shown for rule dependencies but when I'm trying to get a
graph for DFAs, I get "Operation in progress" "Generating..." dialog
that never closes by itself.
- Grammar - Highlight Decision DFA - select marker - Show Decision DFA
- Grammar - Show Tokens DFA
- Grammar - Show Tokens Syntax Diagram (but this item fails
differently - it doesn't show any dialog at all).
Looking at the process activity through SysInternals Process Monitor I
see that dot.exe does get called.
Is there a way to see DFAs in ANTLRWorks?
-- Alexander
List: http://www.antlr.org/mailman/listinfo/antlr-interest
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
Loading...