bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Parsing the Kit Woolsey - Jeremy Bagai match


From: Øystein O Johansen
Subject: Re: [Bug-gnubg] Parsing the Kit Woolsey - Jeremy Bagai match
Date: Mon, 29 Sep 2003 14:21:18 +0200

>> anyone have any ideas?
>
>I've not sure what you mean.

I think I stated the problem a bit unprecise.

> My algorithm would be:
>
> (a) Search for "Move 1"
> (b) Parse string to deduce action
> (c) skip to " 13 14 15 16 17 18      19 20 21 22 23 24" (or reverse)
> (d) read move
> (e) read comments until "Move 2"
> (f) goto (b)

The problem comes between e and f. There is no way to add the comment to
the game record. At least not if your using Python. I guess I have to write
this parser in C and then call AddMoveRecord() between e and f.

Thanks anyway.

-Øystein


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.





reply via email to

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