Re: [OT] Perl to C Converter?

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 08/22/04


Date: Sun, 22 Aug 2004 20:56:52 GMT

On Sun, 22 Aug 2004 20:37:29 GMT, Richard Pennington <rich@pennware.com> wrote:
>
>
> Alan Connor wrote:
>
>> On Sun, 22 Aug 2004 20:05:10 GMT, Joe Smith <Joe.Smith@inwap.com> wrote:
>>
>>>
>>>Alan Connor wrote:
>>>
>>>
>>>>There's this utility called html2ps that's written in perl, but
>>>>the box I want to run it on doesn't have room for perl. It does
>>>>have room for a C compiler.
>>>
>>>A general purpose perl-to-C converter will be the same size as perl itself.
>>>If the program you're coverting uses eval($string), then you'd have to
>>>include the *entire* perl language.
>>> -Joe
>>
>>
>> Sure, but the perl-to-C converter would not have to be on the box that
>> I want to run html2ps on. I can do the conversion and compilation elsewhere
>> and then have a nice little C binary to install on that box, which will be
>> a small fraction of the size of perl and the perl html2ps.
>>
>> AC
>>
>>
>>
>
> When the little C binary encounters eval($string) it could email
> the big box and ask it to convert $string to C, compile it, and
> email the binary back. Watch out for virus protection filters! ;-)
>

ROTFL !!

AC



Relevant Pages

  • Re: [OT] Perl to C Converter?
    ... I can do the conversion and compilation elsewhere ... > a small fraction of the size of perl and the perl html2ps. ...
    (comp.lang.c)
  • Re: [OT] Perl to C Converter?
    ... I can do the conversion and compilation elsewhere ... >> a small fraction of the size of perl and the perl html2ps. ... > When the little C binary encounters evalit could email ...
    (comp.lang.c)
  • Re: [OT] Perl to C Converter?
    ... I can do the conversion and compilation elsewhere ... > a small fraction of the size of perl and the perl html2ps. ...
    (comp.lang.perl)
  • Re: [OT] Perl to C Converter?
    ... I can do the conversion and compilation elsewhere ... > a small fraction of the size of perl and the perl html2ps. ...
    (comp.lang.c)