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


Document-Tools documentation Contained in the Document-Tools distribution.

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

COPYRIGHT

Top


Document-Tools documentation Contained in the Document-Tools distribution.

package Document::Tools;
use 5.006001;
use strict;
use warnings;
our $VERSION = '0.11';

1;