Blatte::Compiler 0.9.4
Sponsored Links
Blatte::Compiler 0.9.4 Ranking & Summary
File size:
0.031 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
917
Date added:
2007-04-20
Publisher:
Bob Glickstein
Blatte::Compiler 0.9.4 description
Blatte::Compiler is a Perl module to compile a Blatte document into Perl.
SYNOPSIS
use Blatte::Compiler;
&Blatte::Compiler::compile($file_handle, &callback);
&Blatte::Compiler::compile_sparse($file_handle, &callback);
sub callback {
my($val, $src) = @_;
if (defined($src)) {
...Blatte expression...
} else {
...plain text...
}
}
This is a convenient interface for parsing a file full of Blatte code. A file handle and a callback are passed to compile() or compile_sparse() (see below for the difference between the two). The callback is then invoked for each top-level item parsed from the input.
The compile() function treats its entire input as a sequence of Blatte expressions, including plain text at the top level, which is divided up into Blatte "words," each of which is one Blatte expression. The callback is called once for each expression, with two arguments: the Perl string resulting from parsing the Blatte expression; and the Blatte source string itself.
The compile_sparse() function works the same way, except that plain text at the top-level of the input is not divided into words. Only Blatte expressions beginning with a Blatte metacharacter are parsed as described above. All text in between such expressions is passed as a single string to the callback, with no second argument.
SYNOPSIS
use Blatte::Compiler;
&Blatte::Compiler::compile($file_handle, &callback);
&Blatte::Compiler::compile_sparse($file_handle, &callback);
sub callback {
my($val, $src) = @_;
if (defined($src)) {
...Blatte expression...
} else {
...plain text...
}
}
This is a convenient interface for parsing a file full of Blatte code. A file handle and a callback are passed to compile() or compile_sparse() (see below for the difference between the two). The callback is then invoked for each top-level item parsed from the input.
The compile() function treats its entire input as a sequence of Blatte expressions, including plain text at the top level, which is divided up into Blatte "words," each of which is one Blatte expression. The callback is called once for each expression, with two arguments: the Perl string resulting from parsing the Blatte expression; and the Blatte source string itself.
The compile_sparse() function works the same way, except that plain text at the top-level of the input is not divided into words. Only Blatte expressions beginning with a Blatte metacharacter are parsed as described above. All text in between such expressions is passed as a single string to the callback, with no second argument.
Blatte::Compiler 0.9.4 Screenshot
Blatte::Compiler 0.9.4 Keywords
Compiler 0.9.4
Perl
to compile
Perl module
Blatte
compile
callback
text
module
document
Blatte::Compiler
BlatteCompiler
Blatte::Compiler 0.9.4
Libraries
Programming
Bookmark Blatte::Compiler 0.9.4
Blatte::Compiler 0.9.4 Copyright
WareSeeker periodically updates pricing and software information of Blatte::Compiler 0.9.4 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Blatte::Compiler 0.9.4 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
compiler construction
blatter
c++ compiler
compiled html help file
bladder
compiler
compiler optimization
illinois compiled statutes
blatter infection
how to compile a recipe book
blattefierad
compile crash
blatter infections
perl modules
how to compile the latest snort on solaris
java compiler
compile error in hidden module distmon
gall blatter
Related Software
Blatte is a Perl module with text macro/markup/template language. Free Download
Blatte::Parser is a Perl module that contains a parser for Blatte syntax. Free Download
Blatte::Builtins is a Perl module with Blatte-callable intrinsics. Free Download
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. Free Download
Blatte::Ws is a whitespace wrapper for Blatte objects. Free Download
Math::Symbolic::Compiler is a Perl module that can compile Math::Symbolic trees to Perl code. Free Download
XML::Compile::Schema is a Perl module to compile a schema. Free Download
XML::XPathToXML is a Perl module that generates XML document from XPath expressions. Free Download
Latest Software
Popular Software
Favourite Software