|
From: | Jon Kinsey |
Subject: | Re: [Bug-gnubg] compile error |
Date: | Wed, 27 Oct 2004 11:31:13 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Thunderbird/0.7.2 Mnenhy/0.6.0.104 |
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...).
Jon
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |