On 2/6/08, David Gerard <dgerard(a)gmail.com>
wrote:
I said that in answer to Steve because he's the one working on the
latest shot at such a thing ;-)
Yeah, your post and Chris's made me smile :)
For Chris, wikitext is context-sensitive so a context-free grammar is
not possible, but a useable ANTLR grammar is quite feasible. I'm
actually getting pretty close. I'm just doing battle with tables atm,
which are difficult because the syntax is pretty ambiguous, and
because table cells can contain *anything* - including other tables.
When you get it done let me know. There is a C# generator for ANTLR
grammars, so I could integrate this with WikiBench for, e.g., realtime
previews during editing (minus templates).
--
Chris Howie