likeawizard / polyglot-composer

A library to compose polyglot opening books from PGN game collections
GNU General Public License v3.0
5 stars 0 forks source link

Reader fror zst compressed files #10

Closed likeawizard closed 1 year ago

likeawizard commented 1 year ago
  1. Find a golang library that implements zst decompression and allows to create a reader from it
  2. Examine existing handling of bzip2 implementation parser.go:38
  3. Create a more universal ReaderFactory
    1. It should take a file path or FileInfo parameter and return the appropriate Reader and/or error
    2. It should support plain .pgn files, bzip2 and zst
    3. If possible try to get/estimate total data amount for progress estimate