Markus Liebelt

Results 118 comments of Markus Liebelt

I would like to have that functionality as well, I will give it a try. I see the following options (with different possible implementations then): * 2 different calls, one...

I tried a different approach. I checked carefully the (internal) function `generate_moves`. All the logic is there, but by allowing `defending moves`, you get the moves that defend your pieces...

After having tried first to implement #161, I saw that this is only a special case from the more general, that allows all kinds of variations when reading a PGN...

Well, you are right, and the reason is, that the parser is just a parser, that is not able to play chess. The pgn `1. e4 d5 (1 e5 {whitealt})...

Sorry, you did not understand my point. The parentheses with the moves in it are all the time a variation to the move directly before the parentheses. So in A,...

With the changed post-processing, it should now be possible to add validations. One of the validations is then, that only 1 out of the 6 "traditional suffix annotations" should be...

That may all be ... From time to time you have to cleanup, and I think now is the time to do it. There is no pressure, because (in my...

By switching to Typescript and following some of the normal rules there, the file and directory structure is mostly done: ``` pgn-parser bin - for build and other scripts doc...

Some documentation would help here. If I understand the code correct, it does the following: * Ensure that only PGN is checked, so don't check tags. * Removes all characters...

I think the problem is more difficult than we think at the moment. I though about a PGN checker / converter that ensures that PGN complies to standard PGN, and...