Re: Para definition?

> A plain text para - how to terminate please?
Officially, something like:

para: word+, lf.
lf: #a.

However, until I fix the lf bug in my implementation (working on it) it won't work.

So I would suggest as a temporary fix:

para: word+, lf.
lf: ΒΆ.

(That's a pilcrow paragraph mark).

Or something similar.

> I have
>
> para: word.
> -word: (letter)*, s.
> -letter: ([L])+, (punctuation)*.
> -punctuation: [".;:,'"]*.
> -s: - " "+.

Watch out here:

 -letter: ([L])+, (punctuation)*.
 -punctuation: [".;:,'"]*.

you've repeated the punctuation twice, once where it is used, and once where it is defined.

Use either

 -letter: ([L])+, punctuation.
 -punctuation: [".;:,'"]*.


or

 -letter: ([L])+, punctuation*.
 -punctuation: [".;:,'"].


By the way, (punctuation)* can be written punctuation*, and ([L])+ can be written [L]+

Best wishes,

Steven


>
> and I'm getting an error http://pembo.xs4all.nl/cgi-bin/post-files.sh
> on the 'following' line (eof or eoln?)
>
>
>
> regards

Received on Saturday, 13 November 2021 15:18:31 UTC