Hi Offray,
and Tiddlywiki and now I'm writing my thesis using
reStructuredText, so
would be nice to have a single markup language for all this writing and I
think that this one should be reST. So the project is giving Pier the
possibility to use this as a Markup language. I have seen that there are
some projects like Helvetia and Pettit Parser that, perhaps, may be used in
this kind of project, but I really don't know if this is feasible or where
to start. So if anyone have some ideas on this I would really like to hear
them.
Helvetia is about embedding languages into Smalltalk, so unless you
want to mix reST with Smalltalk Helvetia is probably not much of help
for your project.
PetitParser (that is also used in Helvetia) is a nice little parser
framework that can help you to transform reST to the Pier document
AST. For questions about PetitParser best ask in the Pharo or Moose
list, most discussion is going on there.
To support a new wiki syntax in Pier you need to provide two classes:
one converting reST to the Pier document AST, and one converting the
Pier document AST to reST. Currently in use are PRDocumentParser and
PRWikiWriter, but you can replace them by customizing the Magritte
document description.
I once tried to implement Creole (a wiki standard) as an alternative
syntax, but it didn't work out well because the syntax didn't fit the
feature set of Pier (e.g. I needed a way to parametrize links, nested
lists, etc). I don't know reST and just wanted to warn you that you
check if the syntax really fits Pier before you start :-)
Cheers,
Lukas
--
Lukas Renggli
www.lukas-renggli.ch