Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Games::SGF 0.07

    Download button

    No screenshots available
    Downloads: 511  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David Whitcomb | More programs
    Perl Artistic License / FREE
    July 21st, 2008, 23:11 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Games::SGF description

    Games::SGF is a general SGF parser.

    Games::SGF is a general SGF parser.

    SYNOPSIS

    use Games::SGF;

    my $sgf = new Games::SGF();

    $sgf->setStoneRead( sub { "something useful"} );
    $sgf->setMoveRead( sub { "something useful"} );
    $sgf->setPointRead( sub { "something useful"} );

    $sgf->addTag('KM', $sgf->T_GAME_INFO, $sgf->V_REAL );
    $sgf->readFile("015-01.sgf");
    $sgf->setProperty( "AP", $sgf->compose("MyApp", "Version 1.0") );

    Games::SGF is a general Smart Game Format Parser. It parses the file, and checks the properties against the file format 4 standard. No game specific features are implemented, but can be added on in inheriting classes.

    It is designed so that the user can tell the parser how to handle new tags. It also allows the user to set callbacks to parse Stone, Point, and Move types. These are game specific types.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    SGF parser | Smart Game Format | Perl module | SGF | parser | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM