[Top][All Lists]

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

Re: [Bug-gnubg] compile error

From: Jim Segrave
Subject: Re: [Bug-gnubg] compile error
Date: Wed, 27 Oct 2004 13:12:49 +0200
User-agent: Mutt/1.4i

On Wed 27 Oct 2004 (11:31 +0100), Jon Kinsey wrote:
> Jim Segrave wrote:
> >The truth is that I think most of the file importing code is sort of
> >sub-optimal. What I think should be happening is that we start with
> >BNF for the various formats and write parsers, probably recursive
> >descent ones, that build a canonical game representation and only if
> >that succeeds do we go from there to gnubg's internal match
> >reprsentation.
> The import code isn't good and writing parsers would be a good idea. 
> I'm not sure about the intermediate/xml format though.  Perhaps the 
> parsers could "play" the match using the same code as when a match is 
> played.  This would be less work and generally simpler (in theory...).

Doesn't help too much with .sgf files, where you want to rebuild the
analysis information.

Jim Segrave           address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]