Fork me on GitHub
#emacs
<
2024-05-17
>
jumar05:05:53

Does anybody know about good and up to date mode/plugin for ANTLR? They don't mention emacs on the official page: https://www.antlr.org/tools.html I found something pretty old here: https://github.com/jwiegley/emacs-release/blob/master/lisp/progmodes/antlr-mode.el For instance, Intellij has a https://plugins.jetbrains.com/plugin/7358-antlr-v4 with syntax highlighting, navigation, etc. It also allows you to test particular rules, visualize the parse tree, profile a parser, and more.

respatialized15:05:23

brb writing a tree-sitter grammar for ANTLR yo dawg, I heard you like parser grammars, so I wrote a parser grammar for your parser grammar so you can parse while you parse while you parse while you parse while you parse while you parse while you parse while you parse while you parse … while you parse while you parse while you [Error: StackOverflowException]

1