| View previous topic :: View next topic |
| Author |
Message |
Robert Hyatt
Joined: 27 Feb 2006 Posts: 15819 Location: Birmingham, AL
|
Post subject: Re: looking for a complex PGN file for testing PGN parser Posted: Tue Mar 06, 2012 8:13 pm |
|
|
| Edmund wrote: |
just to be more precise.
Comments may not be nested according to the pgn specification. Only Variations can. Its the difference between {} and ().
| Quote: |
5: Commentary
Comment text may appear in PGN data. There are two kinds of comments. The
first kind is the "rest of line" comment; this comment type starts with a
semicolon character and continues to the end of the line. The second kind
starts with a left brace character and continues to the next right brace
character. Comments cannot appear inside any token.
Brace comments do not nest; a left brace character appearing in a brace comment
loses its special meaning and is ignored. A semicolon appearing inside of a
brace comment loses its special meaning and is ignored. Braces appearing
inside of a semicolon comments lose their special meaning and are ignored.
|
| Quote: |
8.2.5: Movetext RAV (Recursive Annotation Variation)
An RAV (Recursive Annotation Variation) is a sequence of movetext containing
one or more moves enclosed in parentheses. An RAV is used to represent an
alternative variation. The alternate move sequence given by an RAV is one that
may be legally played by first unplaying the move that appears immediately
prior to the RAV. Because the RAV is a recursive construct, it may be nested.
|
|
There is theory and there is reality...
They are rarely the "same thing".
You can either rigidly follow the PGN standard, and fail to read a lot of PGN games that are perfectly useful, if not perfectly formed, or you can read what is actually out there.  |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
looking for a complex PGN file for testing PGN parser |
Paolo Casaschi |
Mon Mar 05, 2012 10:39 pm |
Re: looking for a complex PGN file for testing PGN parser |
Robert Hyatt |
Tue Mar 06, 2012 5:07 am |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Tue Mar 06, 2012 9:31 am |
Re: looking for a complex PGN file for testing PGN parser |
H.G.Muller |
Tue Mar 06, 2012 10:05 am |
Re: looking for a complex PGN file for testing PGN parser |
Robert Hyatt |
Tue Mar 06, 2012 6:31 pm |
Re: looking for a complex PGN file for testing PGN parser |
H.G.Muller |
Tue Mar 06, 2012 7:03 pm |
Re: looking for a complex PGN file for testing PGN parser |
Robert Hyatt |
Thu Mar 08, 2012 6:19 pm |
Re: looking for a complex PGN file for testing PGN parser |
Edmund Moshammer |
Tue Mar 06, 2012 10:32 am |
Re: looking for a complex PGN file for testing PGN parser |
Robert Hyatt |
Tue Mar 06, 2012 8:13 pm |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Tue Mar 06, 2012 12:49 pm |
Re: looking for a complex PGN file for testing PGN parser |
Robert Hyatt |
Tue Mar 06, 2012 8:15 pm |
Re: looking for a complex PGN file for testing PGN parser |
Paolo Casaschi |
Tue Mar 06, 2012 8:52 pm |
Re: looking for a complex PGN file for testing PGN parser |
Robert Hyatt |
Thu Mar 08, 2012 6:20 pm |
Re: looking for a complex PGN file for testing PGN parser |
Rémi Coulom |
Tue Mar 06, 2012 12:51 pm |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Tue Mar 06, 2012 1:18 pm |
Re: looking for a complex PGN file for testing PGN parser |
Paolo Casaschi |
Tue Mar 06, 2012 1:32 pm |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Tue Mar 06, 2012 2:20 pm |
Re: looking for a complex PGN file for testing PGN parser |
H.G.Muller |
Tue Mar 06, 2012 3:08 pm |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Tue Mar 06, 2012 3:47 pm |
Re: looking for a complex PGN file for testing PGN parser |
H.G.Muller |
Tue Mar 06, 2012 3:53 pm |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Tue Mar 06, 2012 4:00 pm |
Re: looking for a complex PGN file for testing PGN parser |
H.G.Muller |
Tue Mar 06, 2012 4:34 pm |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Tue Mar 06, 2012 7:39 pm |
Re: looking for a complex PGN file for testing PGN parser |
Paolo Casaschi |
Tue Mar 06, 2012 1:27 pm |
Re: looking for a complex PGN file for testing PGN parser |
david nash |
Wed Mar 07, 2012 8:31 am |
Re: looking for a complex PGN file for testing PGN parser |
david nash |
Wed Mar 07, 2012 8:31 am |
Re: looking for a complex PGN file for testing PGN parser |
Ma Chao |
Thu Mar 08, 2012 1:16 am |
Re: looking for a complex PGN file for testing PGN parser |
Andy Duplain |
Thu Mar 08, 2012 10:23 am |
Re: looking for a complex PGN file for testing PGN parser |
H.G.Muller |
Thu Mar 08, 2012 10:33 am |
Re: looking for a complex PGN file for testing PGN parser |
Robert Hyatt |
Thu Mar 08, 2012 9:05 pm |
Re: looking for a complex PGN file for testing PGN parser |
david nash |
Thu Mar 08, 2012 10:45 am |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|