Re: [Zim-wiki] Questions about Wiki markup and its Parser

2010-12-14 Thread Juancarlo Añez
On Mon, Dec 13, 2010 at 4:52 PM, Michael Nagel wrote: > in my opinion moving the markup and it's lexer/parser to something generic > and future-proof is a very good idea. It could (and should) be the first > step to make zim markup compatible with some widespread markup syntax like > markdown or r

Re: [Zim-wiki] Questions about Wiki markup and its Parser

2010-12-13 Thread Michael Nagel
Hello everyone, in my opinion moving the markup and it's lexer/parser to something generic and future-proof is a very good idea. It could (and should) be the first step to make zim markup compatible with some widespread markup syntax like markdown or restructured text... In my opinion this step

Re: [Zim-wiki] Questions about Wiki markup and its Parser

2010-12-12 Thread Juancarlo Añez
On Sun, Dec 12, 2010 at 9:50 PM, Jaap Karssenberg < jaap.karssenb...@gmail.com> wrote: > If you feel that is to much overhead the alternative is to open a > ticket in the bug tracker and attach a patch file there. > That would be the route because I'm not making changes to Zim (yet), but rather p

Re: [Zim-wiki] Questions about Wiki markup and its Parser

2010-12-12 Thread Jaap Karssenberg
On Mon, Dec 13, 2010 at 1:49 AM, Juancarlo Añez wrote: > Where should I post the source code for review? Best workflow would be to post your own bazaar branch on launchpad. That way others can checkout the code and propose patches etc. Also you can request merges with the main branch. If you fee

Re: [Zim-wiki] Questions about Wiki markup and its Parser

2010-12-12 Thread Juancarlo Añez
On Sat, Dec 11, 2010 at 11:58 AM, Juancarlo Añez wrote: > I think that it will be best if this new parser produces only an ad-hoc > syntactic tree (hierarchical structure, unknown meaning) that can be tested > independently of the rest of Zim. Converting the syntactic tree to an > xml.tree should

Re: [Zim-wiki] Questions about Wiki markup and its Parser

2010-12-11 Thread Juancarlo Añez
On Sat, Dec 11, 2010 at 10:17 AM, Jaap Karssenberg < jaap.karssenb...@gmail.com> wrote: > Sure, if it supports the same wiki syntax and the code is cleaner than > mine I'll be happy to use it. > OK. I'll give it a shot. > I have been meaning to clean up the object structure used for the > inte

Re: [Zim-wiki] Questions about Wiki markup and its Parser

2010-12-11 Thread Jaap Karssenberg
On Fri, Dec 10, 2010 at 10:50 PM, Juancarlo Añez wrote: > I was examining the source code for Zim with the aim of adding support fro > enumerated lists, but found the code that deals with wiki-text too > complicated to be amenable for a small hack. > > Questions: > > Is there a reason why Zim does