Re: Is there a Perl Module The Does GCC like precompile on C++ files ?



Random Task <Random@xxxxxxx> wrote in
news:SKv1f.8627$2F2.1053934@xxxxxxxxxxxxxxxxxxxxx:

> A. Sinan Unur wrote:
>> Random Task <Random@xxxxxxx> wrote in news:434683A6.2090904@xxxxxxx:
>>
>>>I want to take an IDL file and preprocess it ... like someone would
>>>do with a C file
>>
>> ...
>>
>>>The trick is ... I only have access to Perl ... so I can't use gcc.
>>>So I was hoping I would not have to implement this myself.

....

>> What did you find when you searched CPAN?
>>
>> http://search.cpan.org/search?query=cpp&mode=all
>>
>
> I found this:
>
> http://search.cpan.org/~ram/Pod-PP-0.1.2/PP.pm

So, you skipped the first match?

> It looks reasonably close to what I need.
>
> However it looks like a beta and that it is no longer being
> maintained.

http://search.cpan.org/~shevek/Text-CPP-0.12/CPP.pm

DESCRIPTION ^

A fast C preprocessor in XS. This does not require an external C
preprocessor, and will not fork() or exec() any external process.

Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.



Relevant Pages