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

[lojban] Re: gleki xisri'i



On Fri, Dec 26, 2008 at 10:51:52PM +0000, Minimiscience wrote:
> I have good news and bad news.
> 
> The good news is that I got Cowan's parser to compile with my
> patch with a few tweaks.  The complete patch is at
> <http://jwodder.freeshell.org/downloads/jbogeha2.diff>; just apply
> it to the source at
> <http://home.ccil.org/~cowan/parser-3.0.00.tar.gz> and run `make`.

Which file did you patch, exactly?  "make" just runs "cc -o parser
*.c", which doesn't use grammar.300 at all, which is the only file
that the patch works on.  You need to use mkgramy, doyacc, and
mknames to actually generate the .c files, and I couldn't get those
to work.

> The bad news is that the outputs from the respective programs
> differ for some constructs, and my version even chokes on two
> specific "{li'u}"s in openwm.txt for some reason that I can't yet
> work out.  Regardless, I still feel that my underlying theory is
> sound, and a handful of careful edits to the grammar file should
> be all that's necessary to bring the programs into alignment.  Now
> I just need to work out what those edits are.

OK.  I'm still wondering what difference it makes to use %prec
rather than error productions.

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm thinking:  "Does it even occur to you to try for something
other than the default outcome?" -- http://shorl.com/tydruhedufogre
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/


To unsubscribe from this list, send mail to lojban-list-request@lojban.org
with the subject unsubscribe, or go to http://www.lojban.org/lsg2/, or if
you're really stuck, send mail to secretary@lojban.org for help.