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

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

Serving Software Downloads in 976 Categories, Downloaded 29.888.521 Times

Inline::Filters 0.12

  Date Added: February 07, 2010  |  Visits: 684

Inline::Filters

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



Inline::Filters Perl module contains common source code filters for Inline Modules. Inline::Filters provides common source code filters to Inline Language Modules. Unless youre an Inline module developer, you can just read the next section. Supported Filters This section describes each filter in Inline::Filters. Strip_POD Strips embedded POD from a block of code in any language. This is implemented as a regular expression: $code =~ s/^=w+[^n]*nn(.*?)(^=cutnn|Z)//gsm; That means if you have a language which contains POD-like syntax, it will be stripped by this filter (i.e. dont use this filter with such a language). This filter is useful for making code like this compile: use Inline C => <<END, FILTERS => Strip_POD; =head1 add Returns the sum of two integers. =cut int add(int x, int y) { return x + y; } END Strip_Comments Strips comments from a block of code in whatever language you are using. The comment stripper is string-safe -- i.e. it will not strip comments embedded in strings. The feature is useful because both the C and C++ grammars cannot deal with comments at arbitrary points in the source code; to do so would bloat the grammar. Instead, code like this should have its comments stripped before parsing: use Inline C => <<END, FILTERS => Strip_Comments; int md5_block(char *block, /* the block to operate on */ long length, /* the number of bytes */ char **result) /* the resulting 128-bit sum */ { /* some code here */ } END Strip_Comments is available for the following languages: C C++ Python Java The Python and Java filters are available for convenience only. There is little need for them, since Inline::Python and Inline::Java use the official language compilers to parse the code, and these compilers know about comments..

Requirements: No special requirements
Platforms: Linux
Keyword: Code Common Source Contains Filters Filters Perl Inline Inline Modules Inlinefilters Libraries Module Perl Module Pod Source Source Code
Users rating: 0/10

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


INLINE::FILTERS RELATED
Libraries  -  Inline-API 0.44
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. SYNOPSIS #!/usr/bin/perl use Inline Foo; say_it(foo); # Use Foo to print "Hello, Foo" __Foo__ foo-sub say_it { foo-my $foo =...
91.14 KB  
Network & Internet  -  AdCensor 0.11
Ad Censor filters annoying ads by matching requested urls with a blacklist and checking the HTML code for suspicious tags..
 
Libraries  -  Inline::Lua 0.04
Inline::Lua is a Perl extension for embedding Lua scripts into Perl code. SYNOPSIS use Inline Lua; print "The answer to life, the universe and everything is ", answer(6, 7), "n"; __END__ __Lua__ function answer (a, b) return a*b end...
24.58 KB  
Libraries  -  Devel::Tokenizer::C 0.05
Devel::Tokenizer::C is a Perl module that can generate C source for fast keyword tokenizer. SYNOPSIS use Devel::Tokenizer::C; $t = new Devel::Tokenizer::C TokenFunc => sub { "return U$_[0];n" }; $t->add_tokens(qw( bar baz...
11.26 KB  
Libraries  -  konforka 0.0
konforka library is a convenience library which is supposed to soak in some code common to our projects. konforka is not likely that you want to try this out unless you need it as a dependency for other project. This is why you should not expect...
307.2 KB  
Libraries  -  Perl6::Gather 0.04
Perl6::Gather is a Perl module that implements the Perl 6 gather/take control structure in Perl 5. SYNOPSIS use Perl6::Gather; @list = gather { # Try to extract odd numbers and odd number names... for (@data) { if...
5.12 KB  
Libraries  -  Date::Pcalc 1.2
Date-Pcalc is a Perl module and is a direct translation of Steffen Beyers excellent Date::Calc module to use Perl only instead of a combination of Perl and C. This package consists of a Perl module for all kinds of date calculations based on the...
61.44 KB  
Libraries  -  OODoc::Format::Pod 0.98
OODoc::Format::Pod is a Perl module to produce POD pages from the doc tree. INHERITANCE OODoc::Format::Pod is an OODoc::Format is an OODoc::Object OODoc::Format::Pod is extended by OODoc::Format::Pod2 SYNOPSIS my $doc =...
102.4 KB  
Libraries  -  Pod::XML 0.96
Pod::XML is a Perl module to convert POD to XML. SYNOPSIS use Pod::XML; my $parser = Pod::XML->new(); $parser->parse_from_file("foo.pod"); This module uses Pod::Parser to parse POD and generates XML from the resulting parse stream. It uses...
7.17 KB  
Libraries  -  Pod::HTML_Elements 0.05
Pod::HTML_Elements is a Perl module to convert POD to tree of LWPs HTML::Element and hence HTML or PostScript. SYNOPSIS use Pod::HTML_Elements; my $parser = new Pod::HTML_Elements; $parser->parse_from_file($pod,foo.html); my $parser = new...
9.22 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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