cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: WriteableSource to write anywhere
Date Sat, 23 Feb 2002 15:05:21 GMT
At 1:50 pm +0100 23/2/02, Stephan Michels wrote:
>On Sat, 23 Feb 2002, Jeremy Quinn wrote:
>
>> Can it do this?
>>
>> This would avoid much of the need to let the user edit XML at all, and save
>> everybody a lot of grief!
>
>#token WORD [A-Za-z]+;
>#token CR   \r;
>
>#whitespace [\ \t\n]+
>
>%%
>
>linecontent : line WORD %append
>            | WORD      %append
>            ;
>
>line : linecontent CR
>     ;
>
>emptyline : CR
>          ;
>
>paragraphcontent : paragraphcontent line %append
>                 | line                  %append
>                 ;
>paragraph : paragraphcontent emptyline
>          ;
>
>text : text paragraph %append
>     | paragraph      %append
>     ;
>
>Something like this should work, and chaperon will produce
><text>
> <paragraph>
>  <line>
>   <WORD>Nam</WORD><WORD>liber</WORD>
>[...]
>

Wow! Incredible looking language!
Never seen anything like it before.


>At this moment, we write in our group a latex grammar, with which
>author could write latex(inclusive mathematical content) in a webform.

nice idea

Thanks for your help

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
   <phone:+44.[0].20.7737.6831>             <pager:jermq@vizzavi.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message