Yeah, a PetitParser syntax has long been on my todo list and I even
started to write some code (not sure where I have it). It is not easy
though, because the grammar is highly context sensitive and extensible
(what would be easy with PP). Also if an effort like this is done, we
should think about adopting a more common/modern syntax like Creole or
YAML or ...
And then, I wonder if a wiki syntax still makes sense in the long run
if we have a WYSIWYG editor?
Lukas
On Tuesday, 19 July 2011, Nick Ager <nick.ager(a)gmail.com> wrote:
Continuing the 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).
Could the wiki syntax be represented in PetitParser form? Would that simplify the
parser?
--
Lukas Renggli
www.lukas-renggli.ch