My first look at the source code for Vladimir's FlexWiki Parser has
unfortunately not been particularly succesful :o( The source compiles,
builds and can be tested using nunit, with two failing tests:
TestCharSetDefinitionAny ("ParseFailed"), and TestMatchSet ("expected:
<MatchSet ... but was: <CharSetName ..."). On the surface this seems like a
little bit of tweaking to fix and we'd be off and running, but
unfortunately, Vladimir is a *seriously* talented guy and I haven't got much
of a clue what the code is doing.
For the most part I understand the concepts involved, but the intricacies of
the code are beyond me, to the point where I'm going to need to read up on
grammars, etc to be able to make head or tail of it all.
One other area of concern is that, from looking at the mailing list
archives, Vladimir had actually implemented more code than is currently in
SVN. He mentions WomName and ParserEngineProcessor classes as not being
committed, but had changes locally. Given my failure to understand fully
what's going on with the source code I doubt if I'll be able to fabricate
these! Vladimir's exact words were:
"I just want to provide an update on the parser.
I have looked at the code I wrote few months ago and it seems that I
still need to do several things there. I worked on the changes for the
last few days and my goal is be able to finish major changes this
week."
It sounds like there wasn't an awful lot of work to do to get it finished,
but I suspect it may take me longer to understand what's on than it would
for Vladimir to finish it!
Vladimir's custom nunit extension is pretty cool. It is used for the Grammar
Tests to enable you to define tests in an XML document, although it seems
that you have to rebuild the project still to get any new tests exposed to
nunit, which kinda defeats the object :S Unfortunately, the simple paragraph
grammar tests that are currently implemented fail, too. By the looks of
things, the current implementation of ParseWikiText, which does the work,
just returns an empty WOM Document, rather than actually parsing the text,
but this bit I could probably solve if the rest of it was finished :o)
Nathan, I understand that you have some experience in this area. Does the
code make any sense to you, and would you be able to either pick up the
baton, or provide some guidance?
Derek.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users