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 49.485.306 Times

sqlpp 0.06

  Date Added: December 22, 2012  |  Visits: 2.252

sqlpp

Report Broken Link
Printer Friendly Version


Product Homepage
Download (94 downloads)



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 #perldef for calling arbitrary perl code. SYNOPSIS sqlpp [options] filename options: -I path - include path -D var[=value] - define variable -o output - output to file ( default to stdout ) -h,--help - display this text -hh - display man page SYNTAX #define TAG Identical to cpp #define TAG([PARAMETERS]) MACRO Not fully identical to cpp, the behavior is slightly different. Concatenation ( a ## b ) and stringification ( # a ) behave similar to as in cpp. The multiline macro can be declared either tranditionally via CPP backslash line continuation, or a perls heredoc style. In the latter case, TAG must be prepended with <<. #if EXPRESSION Analogous to cpp. Note: EXPRESSION is evaluated via perl runtime engine, and although can execute arbitrary perl code, it is recommended to use simple arithmetic operators. To operate with defines as strings, use double quotes. The defined() function works like in cpp, not like in perl. #ifdef, #ifndef, #else, #elif, #endif, #undef, #include, #error Identical to cpp #pragma macro(simple|all|off) Pragma macro defines how defines and macros should be tracked and substituted. The reason is that SQL code may contain non-SQL code that is so complicated that would confuse the macro parser. Such sections can be guarded with #pragma macro(simple)/#pragma macro(all) brackets, for example. There are three macro modes: off Neither defines nor macros are substituted. simple Defines are substituted, macros are not substituted. all Both defines are macros are substituted. #pragma comments(strip|leave) Pragma comments tells what to do with # and -- comments. The default is strip these from the output, however, the parts of input that are not SQL, can be guarded from incorrect parsing by #pragma comments(leave)/ #pragma comments(strip) macros. Note that # comments are ineffectual in macro definitions, because # is a macro concatenation symbol. #pragma lang(sql|perl) A combination of existing pragmas. sql Same as #pragma macro(all) and #pragma comments(strip). These are defaults settings. perl Same as #pragma macro(simple) and #pragma comments(leave). Useful if perl code is embedded. #perldef TAG [(PARAMETERS)] CODE Creates a special define or a macro, where CODE is perl code. PARAMETERS is either a list of perl scalar names ( dollar sign included ), then the code may access the parameters directly. Or, PARAMETERS is the ellipsis (...) string, in which case the code must parse @_ by itself. The multiline perl code can be declared either tranditionally via CPP backslash line continuation, or a perls heredoc style. In the latter case, TAG must be prepended with <<. The perl code is executed in the anonymous subroutine context, and the return values are passed to further processing. Perl print and printf statements may be used to produce direct output into the program output, bypassign the preprocessing. For the shared storage the code can use %global; for accessing contents of defines and macros, %defines and %macros internal hashes may be used. Predefined macros __LINE__ __FILE__ VERSION.

Requirements: No special requirements
Release Date: December 22, 2012
Platforms: Linux
Keyword: Cpp Libraries Package Perl Programming Sqlpp Tag
Users rating: 0/10

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


SQLPP RELATED
Network & Internet  -  mod_perl 2.0.3
mod_perl project brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more. mod_perl gives you a persistent Perl interpreter...
3.5 MB  
Libraries  -  Devel::Depend::Cpp 0.08
Devel::Depend::Cpp is a Perl module that can extract dependency trees from c files. SYNOPSIS use Devel::Depend::Cpp; my ($success, $includ_levels, $included_files) = Devel::Depend::Cpp::Depend ( undef, # use default cpp command...
20.48 KB  
Libraries  -  Inline::CPP 0.25
Inline::CPP is a Perl module that can write Perl subroutines and classes in C++. SYNOPSIS use Inline CPP; print "9 + 16 = ", add(9, 16), "n"; print "9 - 16 = ", subtract(9, 16), "n"; __END__ __CPP__ int add(int x, int y) { return x +...
24.58 KB  
Utilities  -  Perl OS 4
Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs. It was also created to be an easy working environment complete with a text...
143.36 KB  
Programming  -  Spgmr08 - M68HC908 Programmer Utility 0.12
Spgmr08 is a Linux software package for programming devices in the Motorola MC68HC908 microcontroller family.
133.12 KB  
Programming  -  Acme::BOPE 0.01
Created at the base of the hill of Babylon, New York, in full evening of funk, this module allows you to make inroads Perl programming using just jargon and language taken from the famous movie "Elite Squad" director Jose Padilha
10.24 KB  
Web Authoring  -  WebAPP 1.0 SE
WebAPP is a popular, open source Content Management System (cms) written in the Perl programming language. The name WebAPP is an abbreviation of Web Automated Perl Portal. Available under the GNU General Public License, WebAPP is free software....
2 KB  
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
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  -  MP3::Tag::LastResort 0.9708
MP3::Tag::LastResort is a Perl module for using other fields to fill autoinfo fields. SYNOPSIS my $mp3extra = MP3::Tag::LastResort::new_with_parent($filename, $parent); $comment = $mp3inf->comment(); see MP3::Tag MP3::Tag::LastResort is...
174.08 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  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB