Fast pgn parsing and SAN Kit

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

fleal
Posts: 3
Joined: Wed Aug 05, 2015 4:58 pm

Fast pgn parsing and SAN Kit

Post by fleal »

I was trying to look for "legit" pgn parsing libraries, and I found the SAN Kit (https://sourceforge.net/projects/sankit/) which is referenced in a pgn spec I found somewhere in the internet. Does anyone has any suggestions on good (and hopefully, fast) libraries? Any opinions on this one?
jdart
Posts: 4361
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Fast pgn parsing and SAN Kit

Post by jdart »

San kit is good quality. Crafty is using it. Don't know about fast.

I have code for FEN and PGN I/O here (C++, MIT license):
https://github.com/jdart1/arasan-chess/blob/master/src/

see chessio.cpp and notation.cpp.

--Jon
fleal
Posts: 3
Joined: Wed Aug 05, 2015 4:58 pm

Re: Fast pgn parsing and SAN Kit

Post by fleal »

Thanks, will probably stick to the SAN kit, will give it a try sometime