Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGN Parser #71

Open
sfleischman105 opened this issue Dec 31, 2017 · 6 comments
Open

PGN Parser #71

sfleischman105 opened this issue Dec 31, 2017 · 6 comments

Comments

@sfleischman105
Copy link
Collaborator

I feel like this would be a useful thing for a chess library to have. At the bear minimum, we should be able to parse a PGN file and turn it into a Board.

I'm not too great at parsing text/files, so if anyone wants to help with this, I would gladfully mentor.

@sjaustirni
Copy link

Have you thought of using one of existing implementations?

@sfleischman105
Copy link
Collaborator Author

@sjaustirni That's actually a good idea, I'll look into that! If I can successfully gather all the information the Board requires from their structures, this could be very useful.

@odomobo
Copy link

odomobo commented Jul 2, 2018

I would recommend against implementing a PGN parser, unless you have some specific purpose in mind. Normally you can use a GUI to analyze PGN files (or EPD test suites or whatever) and it will send the relevant commands to the engine.

@ghost
Copy link

ghost commented Nov 1, 2020

I would like to take a shot at continuing your work in pgn.rs. I have given your tag parsing a read and am confident I can pick up where you left off with the parsing of the algebraic movetext into PGNMoves.

I have written a bunch of lexers/parsers, so will enjoy this :)

@ghost
Copy link

ghost commented Nov 7, 2020

Feel free to watch my progress which will be developed on my branch here: https://github.com/sfleischman105/Pleco/compare/master...MackEdweise:pgn-parsing?expand=1

@comp-phys-marc
Copy link

Hey, sorry about ghosting. I burnt out a bit. I am back on GitHub and may continue this, but things are a little up in the air as I have been between jobs, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants