Parsing and Emitting Tools for Text Documents
Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Document
t
Changes
MANIFEST
Makefile.PL
README

README

NAME
    Document::Tools - Parsing and Emitting Tools for Text Documents

SYNOPSIS
        my $ast = Spork::Parser->new->parse($text);
        return Spork::Emitter::HTML->new->emit($ast);

DESCRIPTION
    Document::Tools contains a base class for a parser, emitter and AST. You
    write your own parser by making a grammar object that drives the parser.

    See this parser as an example:

        http://svn.kwiki.org/kwiki/trunk/src/core/Spork/lib/Spork/Parser.pm

    And this module for usage of the parser:

        http://svn.kwiki.org/kwiki/trunk/src/core/Spork/lib/Spork/Formatter2.pm

AUTHOR
    Ingy döt Net <ingy@cpan.org>

COPYRIGHT
    Copyright (c) 2007. Ingy döt Net. All rights reserved.

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

    See http://www.perl.com/perl/misc/Artistic.html