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

Makefile::Parser 0.11

  Date Added: January 18, 2010  |  Visits: 1.011

Makefile::Parser

Report Broken Link
Printer Friendly Version


Product Homepage
Download (156 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
MAKEFILE::PARSER RELATED
Development Editors  -  Simple Math Parser 1.1.2
Simple Math Parser is a small, effective parser specially designed for mathematical function that produces a tree to represent them. It is writen in Java and was mainly produced for use in the OpenPlotTool project, but is developed separately....
 
Development Tools  -  GSA Simple XML Parser for XML Tools 1.02
GSA Simple XML Parser is a XML DOM style parser class written in PHP. This class can inport XML data using expat or regex.
10 KB  
Development Tools  -  GSA Simple XML Parser 1.02
GSA Simple XML Parser is a XML DOM style parser class written in PHP. This class can inport XML data using expat or regex.
 
E-Mail Tools  -  SiMP 3.5
SiMP (Simple Mail Parser) is a procmail-like mailparser, except that its much more easier to configure. With SiMP you can automatically store incoming mail in seperate folders, remove junkmail, send a reply, forward the mail, etc. It has been...
20.48 KB  
Development Editors  -  XML Parse Lib 0.63
XML Parse Lib is a handy, simple set of re-usable functions designed for general purpose parsing, checking, and creating xml files. It can support stream-oriented, SAX or DOM parsing styles, and includes an optional xsd schema validator and...
 
Libraries  -  Uppaal Timed Automata Parser Library 0.90
Uppaal Timed Automata Parser Library (libutap) is the parser library used by UPPAAL..
419.84 KB  
Libraries  -  BBCode::Parser 0.34
BBCode::Parser is a Perl module that parses BBCode tags. BBCode is a simplified markup language used in several online forums and bulletin boards. It originated with phpBB, and remains most popular among applications written in PHP. Generally,...
51.2 KB  
Development Tools  -  mofo - a microformat parser 0.2.16
Mofo is a fast and simple microformat parser, based on a concise DSL and Hpricot.
133.12 KB  
Libraries  -  iCal::Parser 1.14
iCal::Parser is a Perl module to parse iCalendar files into a data structure. SYNOPSIS use iCal::Parser my $parser=iCal::Parser->new(); my $hash=$parser->parse($file); $parser->parse($another_file); my $combined=$parser->calendar; my...
28.67 KB  
Networking  -  Crispy_RSS for Scripts 1.0.1
Crispy_RSS is a simple RSS parser built for PHP. It allows you to display syndicated RSS feeds from Movable Type blogs and LiveJournal sites.Crispy_RSS is good solution for custom Blog Rolls, portal sites and web based RSS aggregators.
10 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.12.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