Blatte
Blatte is a Perl module with text macro/markup/template language. SYNOPSIS use Blatte; use Blatte::Builtins; my $perl = &Blatte::Parse(...some Blatte program ...); if (defined($perl)) { my $result = eval $perl; if (defined($result)) { &Blatte::traverse($result, &callback); } elsif...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (93): Blatte Download |
Blatte::Ws is a whitespace wrapper for Blatte objects. SYNOPSIS You probably dont want to use this module directly. Instead, use the ws functions (wrapws, unwrapws, wsof) in Blatte.pm. Blatte objects are frequently nested inside of whitespace objects, representing the whitespace that...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (87): Blatte::Ws Download |
Blatte::Parser is a Perl module that contains a parser for Blatte syntax. SYNOPSIS use Blatte::Parser; $parser = new Blatte::Parser(); $perl_expr = $parser->parse(INPUT); or $parsed_expr = $parser->expr(INPUT); if (defined($parsed_expr)) { $perl_expr = $parsed_expr->transform(); }...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (98): Blatte::Parser Download |
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. SYNOPSIS use Blatte; use Blatte::Builtins; use Blatte::HTML; $perl = &Blatte::Parse(...string of Blatte code...); $val = eval $perl; &Blatte::HTML::render($val, &emit); sub emit { print shift; }.
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (101): Blatte::HTML Download |
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)) {...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (90): Blatte::Compiler Download |
Blatte::Builtins is a Perl module with Blatte-callable intrinsics. SYNOPSIS package MyPackage; use Blatte::Builtins; eval(...compiled Blatte program...); This module defines the standard Blatte-callable intrinsic functions. A Blatte intrinsic is simply a Perl subroutine that (a) has...
Platforms: *nix
License: Freeware | Size: 31.74 KB | Download (87): Blatte::Builtins Download |