WikiDiscuss

WikiDiscuss


Magic Words

posts: 14214

On Sat, Nov 06, 2004 at 08:36:38PM -0800, Robin Lee Powell wrote:
> On Sat, Nov 06, 2004 at 07:52:06PM -0800, Jorge Llamb?as wrote:
> > > I suppose I can imagine something like "mi zoi zoi quietude
> > > zoi zei cinmo", but I don't know if it's worthwhile building
> > > such a bizarre construction into the language. Maybe.
> > >
> > > ZO-clause+ZEI and LOhU...LEhU+ZEI are just dumb as hell,
> > > though.
> >
> > But allowing them gives a simpler grammar than disallowing them,
> > doesn't it?
>
> Not in PEG it doesn't. Not by a long shot. ZEI takes single
> words; none of these things are single words.

To be more specific: the rule for ZEI in my PEG grammar is
(simplified slightly):

any-word (ZEI any-word)+ indicators*

any-word matches a single Lojban word. Duh.

Anything else will require an explicit exception.

Note that currently, as a side effect, my parser is just fine with
{ti zei zei broda} and such.

Not that my parser, or any other parser, should be relevant to this
discussion, but he started it.

-Robin