Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: For R Hyatt : Crafty book creation bug when underpromotion encounte

Author: Marc Lacrosse

Date: 08:34:49 04/07/05

Go up one level in this thread


R Hyatt wrote :
>that is illegal PGN.  Unless the standard has changed, the last time I looked
>promotions were indicated as dxc8=R, _not_ dxc8R
>

You are right, Robert!

In PGN standard 1994.03.12 at "8.2.3.3: Basic SAN move construction", one can
read : "Pawn promotions are denoted by the equal sign "=" immediately following
the destination square with a promoted piece letter (indicating one of knight,
bishop, rook, or queen) immediately following the equal sign. "

But maybe you should consider accepting the faulty syntax without the "=" sign,
because :
- it's the way Chessbase exports games to PGN (...sighing...)
- it is not easy to correct this "by hand"
- other engines (Yace, Pharaon, ...) seem to accept the "relaxed" syntax

Marc



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.