Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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.

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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-09-30 22:10 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (126 votes). Check out past polls.