#JavaCC

JAVAPROjavapro
2025-02-13

Your spots errors before you even hit run. But HOW? Explore the hidden world of — where grammars, parse trees & rule. @martin_fmi breaks it all down. Read: javapro.io/2025/02/04/the-art-

Michael Westergaardmichael@westergaard.social
2025-01-09
Anybody (very) familiar with #javacc? I'd like to extract the #DFA of the #lexer (for completion suggestions). Is there an option I can give javacc to output the DFA in a readable format?

I can probe the generated #parser for possible next #tokens but not extract their images when they are non-trivial. I have a #regexp library I can use for the analysis if I just can get the #automaton or regular expression for a token.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst