GCC::TranslationUnit

Description

GCC::TranslationUnit is a Perl module that can parse the output of gcc -fdump-translation-unit. SYNPOSIS use GCC::TranslationUnit; # echo #include > stdio.c # gcc -fdump-translation-unit -c stdio.c $node = GCC::TranslationUnit::Parser->parsefile(stdio.c.tu)->root; # list every function/variable name while($node) { if($node->isa(GCC::Node::function_decl) or $node->isa(GCC::Node::var_decl)) { printf "%s declared in %sn", $node->name->identifier, $node->source; } } continue { $node = $node->chain; } ABSTRACT Provides a module for reading in the -fdump-translation-unit file from GCC and access methods for the data available from within GCC. Once you read in the file using the Parser, you can traverse the entire structure of the parse tree using methods defined in the GCC::Node::* modules. Look there for information. Each node is blessed into a GCC::Node::* class with that name..

Gcc - Translationunit - Gcctranslationunit - Perl Module - Parse - Module - Perl - Node - Output - Libraries - Programming

Published By:Ashley Winters

License Type:Freeware

Date Added:22 October, 2010

Version:1.00

Price:Free

Downloads:16

Size:13.3 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Conserver is an application that allows multiple users to watch a serial console at the same time.

DateOct 26, 2010

AuthorBryan Stansell

Size297.0 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. libtorrent is a library and not a full featured client, although it comes with a working example client.

DateOct 11, 2010

AuthorArvid Norberg

Size983.0 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Liboil is a library of simple functions that are optimized for various CPUs.

DateNov 3, 2010

AuthorDavid Schleef

Size706.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

D is a high-level language derived from C and C++ but is not backwards-compatible with either. GDC is a frontend for D written for GCC. Supported Systems: GCC 3.3.x, 3.4.x, 4.0.x Linux (tested on Red Hat 7.2, 8) Mac OS X 10.3.x, 10.4.

DateAug 6, 2010

AuthorDavid Friedman

Size1.1 MB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Gnocchi is a complexity analyzer for C++ code. It calculates cyclomatic and the NPATH complexity measures. The project reads the coverage information produced by GCC and determines the complexity of all functions.

DateSep 11, 2010

AuthorEddy Pronk

Size337.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming