Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Parsing Chess Algebra Notation

by gmax (Abbot)
on May 04, 2004 at 13:52 UTC ( #350337=note: print w/ replies, xml ) Need Help??


in reply to Parsing Chess Algebra Notation

Before reinventing you own wheel, please have a look at Chess::PGN::Parse (containing, among other things, regexes to validate chess moves), Chess::PGN::EPD (containing the moves logic), Chess::PGN::Moves, and Chess::PGN::Filter.

Although they were developed by two different authors, they were planned together and developed as a unique tool.

As for the technique, A demanding parser and Perl, Chess, Lies, Damn Lies, and Statistics could be useful as well.

 _  _ _  _  
(_|| | |(_|><
 _|   


Comment on Re: Parsing Chess Algebra Notation
Re: Re: Parsing Chess Algebra Notation
by Steve_p (Priest) on May 04, 2004 at 22:09 UTC

    I am currently using Chess::PGN::Parse and have had no issues with it at all. I definately suggest it over attempting to write your own.

    If you are just writing your own version for fun, practice, or to learn something new, I'd say, "Great! Go for it!" Just don't release it to the CPAN unless you are adding a lot of new functionality or there is a speed improvement. If you have questions on releasing it or not, the authors of the other chess modules are here, and I'm sure they'd be glad chat about chess and Perl.

Re^2: Parsing Chess Algebra Notation
by Anonymous Monk on Jun 15, 2008 at 08:17 UTC
    Bingo bingo bingo, thank you very much this is EXACTLY what I have spent the last few hours trying very hard NOT to start writing!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://350337]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2014-10-25 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (141 votes), past polls