I managed to parse a pgn file into several games mainly thanks to this forum.
However, as the files I have to deal with have so many games, the process can take two minutes on my recent computer. That's why I would like to animate a progress bar on the GUI application using this parser.
I think the easiest way would be to "ask" spirit how many characters he has already processed, and how many characters remain. (Or how many lines remain and have been processed).
Is it possible ? If so, how do I need to modify the parser file in order to get this ratio ?