I would like to use LIME -- http://sourceforge.net/projects/lime-php/ -- instead of a series of regular expression replacement statements to convert GIFT -- http://microformats.org/wiki/gift -- to the Quiz Extension format, both for purposes of maintainability and readability. However, I am concerned about the code review situation, and am not sure if it is reasonable to expect to depend on what would be a much more difficult code review.
On the other hand, LIME has been stable for years, has two good reviews and the author seems reasonable: http://c2.com/cgi/wiki?IanKjos
The included calculator example included is easily accessible, all my experiments with it so far have gone well, and I love the fact that it includes an option for native code compilation of inner loop code (lemon.c) but I am interested in using it to populate larger data structures and how it behaves in production PHP. Does anyone know anyone else who has used it?
My understanding is that some subsets of the wikitext parser could easily be converted to a more formal grammar while others need to remain in PHP (e.g., transclusion), and I am familiar with many of wikitext's parsing ambiguity conflicts. I am not an expert in how to resolve such conflicts in LALR(1) grammars -- although I can squeak through the trial-and-error process. However, I am absolutely certain that moving wikitext parsing to a formal grammar would provide some serious opportunities for engineering improvements, also in maintainability, readability, and related efforts.
Therefore, I am considering submitting LIME for code review, but I want to try something different. I would like to ask for community volunteers to review it first, with comments, before I submit it to be reviewed by the official development team.
Are there any volunteers willing to provide a preliminary code review for LIME?
Best regards, James Salsman
wikitext-l@lists.wikimedia.org