I can't seem to find any information on automatically type-setting ANTLR grammars, i.e., on exporting a given grammar in a manner similar to how ANTLRWorks' syntax diagrams work, except that the target is LaTeX, formatted html, or similar.
There's a Pygments mode, but it syntax-highlights everything, including actions, it seems. I was playing around with the code and it also doesn't seem to behave in an entirely predictable manner when you change things. I wrote a quick filter to get rid of everything not BNF-like in the Pygments output but it requires annotations with comments in the ANTLR file and, while it's one time to do, I'm not sure I like the end result: there are just too many levels in play within a given specification. Please tell me I have missed something, and that type-setting is catered to already. I mean, it shouldn't be too hard to re-target the ANTLRWorks code ... Cheers, Rene List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
