Andrew Rodland wrote:
Recently I've been working on parsing wikitext for some projects of my own, and
because I think that a general-purpose parser is just a good thing to have. In
any case, I've made significant progress on a Perl implementation.
I've taken a look at your code and I'm quite impressed. However, I have
only seen the code; I would be very delighted if I could see the thing
in action as well! Can you set up a webserver where I can just
type/paste some wiki-text into a textarea and have your parser output
the HTML? Once I can do this, I think I can send you some meaningful
bugreports. :)
First time I looked at your code I thought "Not really; it does use
regular expressions, so it has bits of a "Match/Transform" algorithm
too", but closer inspection reveals that you are not using regular
expressions any more than a standard lexer would. Good work!
So, if you can set up a demo, I'd be most grateful :)
Greetings,
Timwi