Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: PGN

Author: Rémi Coulom

Date: 03:02:31 10/01/05

Go up one level in this thread


On October 01, 2005 at 00:01:45, Dann Corbit wrote:
>The Elo calculation stuff by Remi has a real nice PGN parser in it.

My PGN parser is in fact part of my GPL C++ class library that I wrote for The
Crazy Bishop, and that can be downloaded from my home page
(http://remi.coulom.free.fr/ , in programs0046.tar.gz). This source package is a
bit old, and I might have improved a few things since the last release. If
anyone actually uses this code, tell me and I will repackage a new version.

I tried Bruce's example with my parser, and it failed because of comments
between tags. That would be extremely easy to fix, if anyone is interested.

I believe it is a mistake in the PGN specifications to consider comments as
white space. I do not consider them as white space in my program, and load them
in the game tree when they are attached to a move.

Rémi



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.