User:Peter17/GSoC-2011: Difference between revisions

Jump to navigation Jump to search
+last week
((base))
(+last week)
Line 10: Line 10:
After Spir solved the issue of failing tests (a memoization reset was needed), I added a lot of test cases for my parser and continued to develop it.
After Spir solved the issue of failing tests (a memoization reset was needed), I added a lot of test cases for my parser and continued to develop it.


== May 25th to June 1st ==
== May 25th to Mat 31st ==
I spent a long time working on wikitable parsing. I added simple and semi-complex test cases and had them parsed correctly.
I spent a long time working on wikitable parsing. I added simple and semi-complex test cases and had them parsed correctly.


I also added a [https://github.com/peter17/mediawiki-parser/blob/master/TODO.rst TODO file] which gives the current status of the different parts of MediaWiki syntax for my parser.
I also added a [https://github.com/peter17/mediawiki-parser/blob/master/TODO.rst TODO file] which gives the current status of the different parts of MediaWiki syntax for my parser.


ErikRose had a look at my commits and corrected a space/tabs indentation problem. We have planned to communicate with each other by audio.
Erik had a look at my commits and corrected a space/tabs indentation problem. We have planned to communicate with each other by audio.
 
== June 1st to June 8th ==
I managed to understand how to use comparisons in tests in Pijnu and adapted my tests to do so.
 
I corrected the parsing of '=' in text lines which made me rewrite the parsing of titles, which now respect the behavior of MediaWiki. I added the support for nested tables and nested templates.
 
I tested pyParsing a little more. This confirmed my opinion that Pijnu was the best PEG parsing library we had tested so far and was much more practical and easy to use than pyParsing.
 
Spir informed me that he couldn't assume the development of Pijnu "in a foreseeable future"; after discussing this with him and with Erik, I decided to maintain it, keep the GPLv3 license and make the developments necessary to the continuation of our mediawiki parser (such as Unicode support).
 
I had a long and helpful discussion with Erik about what was urgent, less urgent and not needed. It was said that the most urgent was to have a clear view of the pre/main/post-processing steps. I will write something about that as soon as possible, getting inspiration from how MediaWiki parser works.
 
<!--
June 9th: add multiline tests in Pijnu and our parser
-->
9

edits

Navigation menu