[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Parsing the Kit Woolsey - Jeremy Bagai match
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Parsing the Kit Woolsey - Jeremy Bagai match |
Date: |
Mon, 29 Sep 2003 11:38:02 +0000 |
User-agent: |
Mutt/1.4.1i |
On Sun, Sep 28, 2003 at 07:47:28PM +0200, Øystein Johansen wrote
> Hi,
>
> I'm trying to make a parsing algoritme to parse the Kit Woolsey Jeremy
> Bagai match founf here:
> http://www.csc.no/~paalf/BG/matches/KitWoolsey-JeremyB.txt.gz
> I'm having problems getting the comments into the commentary field. Does
> anyone have any ideas?
I've not sure what you mean.
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)
Jørn
pgpob2WM7f015.pgp
Description: PGP signature