Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: When PGN goes wrong?

Author: Tony Werten

Date: 02:46:21 10/19/00

Go up one level in this thread


On October 19, 2000 at 04:05:50, Steve Maughan wrote:

>Jon,
>
>>Note that parsing straight PGN (Even ill-formed examples) is not
>>terribly hard but handling PGN with subvariations and
>>annotations is a little harder. Not clear if you want to do go this
>>far unless you are writing a sophisticated chess viewer. 90% or more
>>of the PGN out there is unannotated.
>
>Thanks for the note.  I'm actually using Delphi so I'll be writing from scratch.

Not completely. XiniX can read pgns as well. ( Only in the pgn output I gave the
tournamentdirector of the dutch championships a headache )

What I found to be the easiest is the delete all non-moves stuff. ie
numbers,points,?,+,ep,nested {} or () Then parse the plain moves.

Tony

> My aim is to create a framework that will eventually be quite sophisticated.
>However Delphi is a dream for writing such apps due to the object orientated
>structure!
>
>Thanks again,
>
>Steve



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.