On Sunday 24 February 2002 10:50, Stephan Michels wrote: >. . . > Which samples do you prefer to see? Any ideas?
I think a sample grammar for a wiki-like structured text language would be very interesting for Cocooners. I'm thinking of a simple language a la PHPwiki or aptconvert, something along the lines of H1 this is a heading level one A normal paragraph here, as many lines as needed, ends with a blank or "code" line. * a bulleted list item % a numbered list item %% numbered list sub-item Here we have some _bold_ and __some italic text__. +****this line starts with a star sign escaped with a plus sign. Which the text parser would convert to XML (docbook subset ideally?) aptconvert uses tabs at the start of lines for markup, it makes the structured text look nicer but I don't think this would work when using HTML forms for text entry. The PHPwiki language (http://phpwiki.sourceforge.net/phpwiki/TextFormattingRules) looks fairly complete for simple text formatting, IMHO this or a similar language would be a very interesting sample. -- -- Bertrand Delacrétaz, www.codeconsult.ch -- web technologies consultant - OO, Java, XML, C++ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]