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

Makefile::Parser 0.11

  Date Added: January 18, 2010  |  Visits: 1.284

Makefile::Parser

Report Broken Link
Printer Friendly Version


Product Homepage
Download (166 downloads)



Makefile::Parser is a Simple Parser for Makefiles. SYNOPSIS use Makefile::Parser; $parser = Makefile::Parser->new; # Equivalent to ->parse(Makefile); $parser->parse or die Makefile::Parser->error; # Get last value assigned to the specified variable CC: print $parser->var(CC); # Get all the variable names defined in the Makefile: @vars = $parser->vars; print join( , sort @vars); @roots = $parser->roots; # Get all the "root targets" print $roots[0]->name; @tars = $parser->targets; # Get all the targets $tar = join("n", $tars[0]->commands); # Get the default target, say, the first target defined in Makefile: $tar = $parser->target; $tar = $parser->target(install); # Get the name of the target, say, install here: print $tar->name; # Get the dependencies for the target install: @depends = $tar->depends; # Access the shell command used to build the current target. @cmds = $tar->commands; # Parse another file using the same Parser object: $parser->parse(Makefile.old) or die Makefile::Parser->error; # Get the target who is specified by variable EXE_FILE $tar = $parser->target($parser->var(EXE_FILE)); This is a parser for Makefiles. At this very early stage, the parser only supports a limited set of features, so it may not recognize some advanced features provided by certain make tools like GNU make. Its initial purpose is to provide basic support for another module named Makefile::GraphViz, which is aimed to render the building process specified by a Makefile using the amazing GraphViz library. The Make module is not satisfactory for this purpose, so I decided to build one of my own..

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Makefileparser Parse Parser Print Programming Simple Simple Parser Tar Target
Users rating: 0/10

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


MAKEFILE::PARSER RELATED
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  
Libraries  -  Shell::Parser 0.04
Shell::Parser is a simple shell script parser. SYNOPSIS use Shell::Parser; my $parser = new Shell::Parser syntax => bash, handlers => { }; $parser->parse(...); $parser->eof; This module implements a rudimentary shell script parser in...
17.41 KB  
Libraries  -  CGI::Simple 0.079
CGI::Simple is a simple totally OO CGI interface that is CGI.pm compliant. SYNOPSIS use CGI::Simple; $CGI::Simple::POST_MAX = 1024; # max upload via post default 100kB $CGI::Simple::DISABLE_UPLOADS = 0; # enable uploads $q = new...
84.99 KB  
Libraries  -  Template::Plugin::XML::Simple 2.16
Template::Plugin::XML::Simple is a plugin interface to XML::Simple. SYNOPSIS # load plugin and specify XML file to parse [% USE xml = XML.Simple(xml_file_or_text) %] This is a Template Toolkit plugin interfacing to the XML::Simple module..
26.62 KB  
Libraries  -  Parse::RecDescent 1.94
Parse::RecDescent is a Perl module to generate Recursive-Descent Parsers. SYNOPSIS use Parse::RecDescent; # Generate a parser from the specification in $grammar: $parser = new Parse::RecDescent ($grammar); # Generate a parser from the...
122.88 KB  
Libraries  -  linda 0.1.1
linda is a simple library implementation of the Linda parallel programming system. To write a parallel program with linda, you have to know only 6 functions: spawn, out, in, inp, rd, and rdp. linda was originally written by Wong Weng Fai. It has...
184.32 KB  
Libraries  -  parse_conf library 0.91
parse_conf library is a simple library for reading scientific initial data from configuration files. Documentation is available below. It is convenient tool that makes reading initial values for your scientific project as easy as even possiable....
45.06 KB  
Libraries  -  XML::Parser::PerlSAX 0.08
XML::Parser::PerlSAX is a Perl SAX parser using XML::Parser. SYNOPSIS use XML::Parser::PerlSAX; $parser = XML::Parser::PerlSAX->new( [OPTIONS] ); $result = $parser->parse( [OPTIONS] ); $result = $parser->parse($string);...
64.51 KB  
Business  -  Lp4all 0.9.2
Lp4all is a modern and efficient yet simple literate programming tool. According to Wikipedia, Literate programming is the writing of computer programs primarily for human beings to read, similar to a work of literature; hence the name literate...
23.55 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