Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 95216 invoked from network); 1 Dec 2003 10:14:49 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Dec 2003 10:14:49 -0000 Received: (qmail 72936 invoked by uid 500); 1 Dec 2003 10:14:23 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 72675 invoked by uid 500); 1 Dec 2003 10:14:21 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 72657 invoked from network); 1 Dec 2003 10:14:21 -0000 Received: from unknown (HELO vern.chem.tu-berlin.de) (130.149.66.116) by daedalus.apache.org with SMTP; 1 Dec 2003 10:14:21 -0000 Received: from vern.chem.tu-berlin.de (localhost [127.0.0.1]) by vern.chem.tu-berlin.de (8.12.3/8.12.3/SuSE Linux 0.6) with ESMTP id hB1AEXaY002418 for ; Mon, 1 Dec 2003 11:14:34 +0100 Received: from localhost (stephan@localhost) by vern.chem.tu-berlin.de (8.12.3/8.12.3/Submit) with ESMTP id hB1AET7C002415 for ; Mon, 1 Dec 2003 11:14:29 +0100 X-Authentication-Warning: vern.chem.tu-berlin.de: stephan owned process doing -bs Date: Mon, 1 Dec 2003 11:14:29 +0100 (CET) From: Stephan Michels X-X-Sender: stephan@vern.chem.tu-berlin.de To: forrest-dev@xml.apache.org Subject: Re: wiki syntax support In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 1 Dec 2003, Bertrand Delacretaz wrote: > Le Lundi, 1 d=E9c 2003, =E0 10:35 Europe/Zurich, Nicola Ken Barozzi a =E9= crit > : > > > Jan.Materne@rzf.fin-nrw.de wrote: > >> ...Maybe in future Forrest can be configured which wiki format to use > >> ... > > > > It can be done now. > > > > We have > > > > .cwiki - JSPWiki format > > > > IMHO we should also have a couple more syntaxes: > > > > *.mwiki - MoinMoin (used in http://wiki.apache.org/) > > *.ewiki - Email Wiki (using the format that is used in email > > messages, like *strong*, _underlined_, etc) > > > > If someone wants to tackle it, I'll be happy to add it to Forrest. > > > > Suggestion: just change the cwiki grammar to the new format, and when > > it's ok, send it here. I'll take care in doing the other changes > > needed, like different extension supportl. > > Small warning though: being based on a "traditional" parser grammar, > the chaperon-based wiki stuff gives parsing errors if the input files > do not respect the wiki grammar. This can be very confusing for > non-technical document writers. > > In the wiki world (AFAIK), the accepted behaviour in such cases is to > process the page as well as possible. You won't get the format you > meant but at least there's no confusing error message. > > Stephan Michels once said he was working on more free-form grammars for > Chaperon [1] but I don't know if this has happened. And I'm still working ;-) I currently develop a wiki-like documentation system for my prof., so I improve the parser in this way. For example I added some recovery strategies for invalid documents. But there is still much work for a single person. Stephan.