Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Updating the PGN Standard using XML

Author: Anthony Cozzie

Date: 07:40:55 06/09/04

Go up one level in this thread


PGN in and of itself is not _that_ annoying to parse.  It is designed to err on
the human readable side of things.  Where PGN breaks down completely is where
tons of computer analysis & comments are added, at which point its completely
unreadable for humans and annoying difficult to parse for computers.  I'm hardly
a big fan of XML, but it does seem like this is a good use of it.

Some suggestions:

1. Use Long San (Nf3-e5, Ph7-h8=Q, Ke1-g1, Nc4xe5).  This is more readable for
humans, and easier to parse/output for computers, at the expense of a few bytes.
 Zappa already does PVs in Long SAN except for omitting the "P" qualifier.

2. Rather than having a <moves> tag, I think each move should get its own tag,
ala:  (My XML is very rusty, but you get the point)

<MoveCount>1</Movecount>

<Move "1">
     <M = "Nf3-e5">
     <Time = "1:03.52">
     <Score = "0.31">
     <PV = "...">
     <Human Analysis = "...">
</Move>

anthony



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.