Edgewall Software

Changes between Version 1 and Version 2 of TracDev/Proposals/WikiParserFormatterSplit


Ignore:
Timestamp:
Feb 26, 2007, 9:13:53 AM (17 years ago)
Author:
Alec Thomas
Comment:

Note about visitor pattern

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/Proposals/WikiParserFormatterSplit

    v1 v2  
    191191An example of the usual kind of "buglets" that affect the Wiki engine: the formatting that is produced for a given wiki text doesn't look "right". Fixing such issues is currently not very convenient, because all is done at once. Being able to focus on the logic of either the parser or the formatter would tremendously help with this kind of issue. Other similar tickets: #1936, #3335, #4790 ...
    192192
     193== Comments ==
     194
     195Not sure what your specific plans are, but one of the docutils developers at
     196!PyCon illustrated fairly convincingly why calling ''enter''/''leave'' methods
     197for each node in the tree, when "parsing", is bad, and why a visitor pattern is
     198good. Something to consider
     199
     200(AlecThomas)
    193201
    194202----