[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lojban] Re: My parser and ZOI



On Fri, Apr 30, 2004 at 04:50:15PM -0700, Jorge Llamb?as wrote:
> 
> --- Robin Lee Powell <rlpowell@digitalkingdom.org> wrote:
> > 
> > What this does is replace[1] the zoi boundary word (i.e. gy in "zoi
> > gy whee! gy") with the string QZOIMARKER.  That string was chosen to
> > be descriptive.  The Q is there to make sure it's not valid Lojban,
> > so that the pre-processor's efforts can never be mis-construed as
> > valid for some reason other than processing ZOI correctly.
> 
> Could there be a problem if the string QZOIMARKER appears within the
> quoted text? Something like zoi gy .... QZOIMARKER ... gy? 

This would, without question, cause a problem.

Simple fix is to have the pre-processor s/QZOIMARKER/qZOIMARKER/g or
similar, but that's such a special case I'm not feeling the urge to put
a lot of effort into it.

> Probably not very frequent, except maybe when discussing you parser in
> Lojban.

Right.

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/  ***  I'm a *male* Robin.
"Many philosophical problems are caused by such things as the simple
inability to shut up." -- David Stove, liberally paraphrased.
http://www.lojban.org/  ***  loi pimlu na srana .i ti rokci morsi