User:Peter17/GSoC-2011: Difference between revisions

Jump to navigation Jump to search
+update
(+update)
Line 38: Line 38:
Erik defined tickets from my TODO list and I added the PEG rules and Python tests for some of them (paragraphs, lists). I also rewrote a part of the current syntax definition in order to be able to parse escaping characters (eg. [ { | } ]) when not used in the definition of a link or a template.
Erik defined tickets from my TODO list and I added the PEG rules and Python tests for some of them (paragraphs, lists). I also rewrote a part of the current syntax definition in order to be able to parse escaping characters (eg. [ { | } ]) when not used in the definition of a link or a template.


<!--
== June 22nd to June 28th ==
June 22th+: Erik validated my progress so far and we decided to mark a first step by reorganizing the directory structure, putting Pijnu's generated parser as the center of our parser and work in branches from there. I totally rewrote the tests architecture in order to be able to use ''nose'' for testing.  
June 22th+: Erik validated my progress so far and we decided to mark a first step by reorganizing the directory structure, putting Pijnu's generated parser as the center of our parser and work in branches from there. I totally rewrote the tests architecture in order to be able to use ''nose'' for testing.  


I added the support for HTML tags and entities.
I added the support for HTML tags and entities and tests for this.
 
== June 29th to July 5th ==
I subscribed to the wikitext-l mailing-list and presented myself. I had a little feedback on my project, but not much.
 
I added the support for the HTML comments, added more tests for tags parsing and improved the AST structure for the wikiTables.
 
I allowed parsing template parameters and added tests for them as for nowiki sections and horizontal rules (HR tags).
 
== July 6th to July 12th ==
I began the postprocessing part, which is rendering the AST into HTML or text.
 
Erik made some modifications to Pijnu to allow more than one instance of it to be created (having one instance only would generate memoization problems in our case), so, I adapted our parser to take those changes into account.
 
== July 13th to July 19th ==
I began with a big merge of the different branches created so far. Erik helped me a lot with this because it was kind of a mess...
 
After that, I began working on the preprocessor part. The preprocessor is responsible for substituting the templates and their parameters. I made a proof of concept for it and improved it for several corner cases I found.
 
I finished the week by applying the Python convention on our mediawiki.pijnu file (under_score instead of CamelCase), which needed to update all the tests created so far.
 
== July 20th to July 26th ==
I implemented and tested the support for HTML entities and discussed a lot with Erik about this.
 
I then added the rendering (postprocessor) part for allowed and disallowed HTML tags and HTML attributes and the tests for it.
 
I finally did the same for HTML tables and their tests.
 
<!--
== July 27th to August 2nd ==
== August 3rd to August 9th ==
-->
-->
9

edits

Navigation menu