Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.172.729 Times

Blatte::Compiler 0.9.4

  Date Added: October 18, 2010  |  Visits: 898

Blatte::Compiler

Report Broken Link
Printer Friendly Version


Product Homepage
Download (90 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Blatte Blattecompiler Callback Compile Libraries Module Perl Perl Module Programming Text
Users rating: 0/10

License: Freeware Size: 31.74 KB
USER REVIEWS
More Reviews or Write Review


BLATTE::COMPILER RELATED
Libraries  -  GD::Text 0.86
GD::Text is a Perl module with text utilities for use with GD. SYNOPSIS use GD; use GD::Text; my $gd_text = GD::Text->new() or die GD::Text::error(); $gd_text->set_font(funny.ttf, 12) or die $gd_text->error;...
64.51 KB  
Libraries  -  Blatte 0.9.4
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)) {...
31.74 KB  
Libraries  -  XML::Compile::Schema::XmlReader 0.18
XML::Compile::Schema::XmlReader Perl module contains bricks to translate XML to HASH. SYNOPSIS my $schema = XML::Compile::Schema- >new(...); my $code = $schema- >compile(READER = > ...); The translator understands schemas, but does not...
122.88 KB  
Libraries  -  Text::Kakasi::JP 2.04
Text::Kakasi::JP is a Japanese Perl extension for Text::Kakasi. SYNOPSIS use Text::Kakasi; # functional $res = Text::Kakasi::getopt_argv(kakasi, -ieuc, -w); $str = Text::Kakasi::do_kakasi($japanese_text); # object-oriented $obj =...
22.53 KB  
Modules  -  CodeCitation 1.3.1
Syntax highlighting for ActionScript3, Bash/shell, C#, C++, CSS, Delphi, Diff, Groovy, javascript, Java, JavaFX, Perl, PHP, Plain Text, PowerShell, Python, Ruby, Scala, SQL, Visual Basic, XML, HTML, XSLT.The CodeCitation plugin allows you to...
61.44 KB  
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Modules  -  Text Image Autoinsert 1.0
The Text Image module provides text to image functionalities like automated custom headers.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x
 
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Module::Crypt 0.04
Module::Crypt is a Perl module to encrypt your Perl code and compile it into XS. SYNOPSIS use Module::Crypt; #Êfor a single file: CryptModule( file => Bar.pm, install_base => /path/to/my/lib ); # for multiple files: CryptModule(...
7.17 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB