Well, I am just thinking aloud:
The wiki syntax evolved from SWiki, WikiWorks, and SmallWiki and is a
major pain to parse and generate. You also see that in the tests, some
are marked as expected failures (i.e. link parameters in tables).
The syntax is basically designed to be convenient for humans to write,
so I thought a tool might prefer some other structure? But if it works
well for you, this is cool too :-)
On Tuesday, 19 July 2011, Nick Ager <nick.ager(a)gmail.com> wrote:
Ahh, one question: Why do you go through the wiki syntax at all?
Couldn't you submit the document model as something machine-readable
like JSON or XML?
hmm, I guess when I started I assumed it would be easier converting into Pier wiki format
and it allowed me to rapidly verify the parser. Also I'd have to translate from JSON
into PRDocument on the server whereas the wiki -> PRDocument translator is already
structure? The one benefit I guess is there are less steps html -> PRDocument vs html
-> wiki syntax -> PRDocument.