Working example of wikitext-to-HTML in ANTLR 3
问题 I'm trying to flesh out a wikitext-to-HTML translator in ANTLR 3, but I keep getting stuck. Do you know of a working example that I can inspect? I tried the MediaWiki ANTLR grammar and the Wiki Creole grammar, but I can't get them to generate the lexer & parser in ANTLR 3. Here are the links to two grammars I've tried using: http://www.mediawiki.org/wiki/Markup_spec/ANTLR http://www.wikicreole.org/wiki/EBNFGrammarForCreole1.0 I can't get any of these two to generate my Java Lexer and Parser.