chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] Re: #254: wiki-parse deficiencies


From: Chicken Trac
Subject: [Chicken-janitors] Re: #254: wiki-parse deficiencies
Date: Thu, 27 May 2010 01:23:55 -0000

#254: wiki-parse deficiencies
------------------------+---------------------------------------------------
 Reporter:  syn         |       Owner:  sjamaan
     Type:  defect      |      Status:  new    
 Priority:  major       |   Milestone:  4.6.0  
Component:  extensions  |     Version:  4.5.0  
 Keywords:  wiki-parse  |  
------------------------+---------------------------------------------------

Comment(by iraikov):

 Definition lists: the problem you are describing is caused by the fact
 that there is a newline between every element of the list. The current
 wiki-parse is line- and regexp- based, and that means this issue can only
 be fixed by some heuristic matching, which would complicate the code. I
 should also note here that MediaWiki does the same thing if the elements
 of a definition list are separated by newlines.

 Enscript tags: enscript is actually for syntax highlighting; preformatted
 code can be represented by indented text (same as svnwiki and MediaWiki).
 I suggest adopting a separate tag for syntax highlighting that can be
 handled by corresponding extensions in the rendering code, and maybe
 avoiding enscript altogether.

 As for the other issues, I would be happy to switch away from the regexp-
 oriented parsing, which has led to difficulties in code maintenance, but I
 think we should also adopt more reasonable and well-defined syntax rules,
 such as RST or MediaWiki. svnwiki tables, in particular, are a mess, which
 is why I have chosen to use MediaWiki table syntax in wiki-parse.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/254#comment:8>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]