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:[EMAIL PROTECTED]>                    <http://www.media.demon.co.uk>
   <phone:+44.[0].20.7737.6831>             <pager:[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to