#pgn #chess #parser

rpgn

A crate for parsing PGNs (Portable [Chess] Game Notation)

5 releases

0.2.4 May 23, 2024
0.2.3 May 12, 2024
0.2.1 May 12, 2024
0.2.0 May 12, 2024
0.1.0 May 12, 2024

#921 in Parser implementations

Download history 118/week @ 2024-05-06 28/week @ 2024-05-13 156/week @ 2024-05-20 9/week @ 2024-05-27

311 downloads per month

GPL-3.0 license

60KB
1K SLoC

tests coverage docs.rs crates.io license

RPGN

Rust Portable Game Notation.

A crate for parsing a PGN, built on shakmaty and pgn-reader.

pgn-reader only allows you to read individual, untyped parts of the PGN, but doesn't actually parse it into something useful. This crate parses a PGN into the Game struct.

Dependencies

~1.5MB
~22K SLoC