Re: [OT] Perl to C Converter?

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


Date: Mon, 23 Aug 2004 00:30:55 GMT

On Sun, 22 Aug 2004 20:21:57 -0400, Robert Gamble <rob_gamble99@hotmail.com> wrote:
>
>
> On Sun, 22 Aug 2004 23:50:26 +0000, Alan Connor wrote:
>
>> On Sun, 22 Aug 2004 19:14:58 -0400, Robert Gamble
>> <rob_gamble99@hotmail.com> wrote:
>>>
>>>
>>> On Sun, 22 Aug 2004 22:19:50 +0000, Alan Connor wrote:
>>>
>>>> By-the-way: Keith Thompson <kst-u@mib.org> says that a perl2C program
>>>> exists....
>>>
>>> There is something called perlcc, a google search will provide plenty
>>> of insight. I don't know if it will help you though, I just "compiled"
>>> a 31kB perl script into C and the result was 8MB of unreadable code.
>>
>> Yow.
>>
>> Not very well commented?
>>
>> :-))
>>
>>> Compiling the code resulted in a 3.5MB executable that dies
>>> immediately. I think this requires Perl installed and it appears to
>>> include the Perl source into the program. This program appears to be
>>> fairly new and probably has a long way to go before it is very useful.
>>>
>>> Rob Gamble
>>
>> But this information is very useful.
>>
>> Thank you, Rob. It may well be that an html2ps app in C is the answer
>> here and I have seen evidence that they exist.
>>
>> There's one called a2ps, but it isn't being maintained and requires
>> netscape.
>>
>> AC
>
> How about this:
> http://www.easysw.com/htmldoc/index.php
> http://packages.debian.org/stable/web/htmldoc
>
> Rob Gamble

Package: htmldoc
Priority: extra
Section: web
Installed-Size: 1508
Maintainer: Jeff Licquia <licquia@debian.org>
Architecture: i386
Version: 1.8.14-1
Depends: libc6 (>= 2.2.3-7), libfltk1, libjpeg62, libpng2 (>= 1.0.12), xlibs (>>
 4.1.0), zlib1g (>= 1:1.1.3)
Filename: pool/main/h/htmldoc/htmldoc_1.8.14-1_i386.deb
Size: 854002
MD5sum: 6d393d0d1dbe2a9041b7df243d8ef2ed
Description: HTML processor that generates indexed HTML, PS, and PDF.
 HTMLDOC is a program for writing documentation in HTML and producing
 indexed HTML, PostScript, or PDF output (with tables of contents).
 It supports most HTML 3.2 and some HTML 4.0 syntax, as well as GIF,
 JPEG, and PNG images.

That sure does look promising, Rob. Thanks.

I thought I had searched /var/lib/dpkg/available thoroughly, but there
it was...

<slaps head>

<ouch>

:-)

Will let you know how it works on my simple HTML.

Let's see: Su to root and run apt-get install htmldoc.

I can handle that.

AC



Relevant Pages

  • Re: [OT] Perl to C Converter?
    ... >> Thank you, Rob. ... HTML processor that generates indexed HTML, PS, and PDF. ... HTMLDOC is a program for writing documentation in HTML and producing ... indexed HTML, PostScript, or PDF output. ...
    (comp.lang.c)
  • Re: How do I "Save-As" HTML in Ms Project 2007 pro?
    ... Rob - Thanks for the outstanding reply... ... MOSS will let you show all kinds of reporting about an mpp file. ... HTML for use communicating with stakeholders. ... Microsoft to force organizations to move to server and sharepoint. ...
    (microsoft.public.project)
  • Re: Link to local CHM file (IE6)
    ... Thanks for the reply Rob. ... >> The hyperlinks work IF and ONLY IF the HTML page runs locally, ... >> Please confirm that access to CHM via the hyperlink is not possible over ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: webserver
    ... Thanks Rob, that is the one I was looking at. ... I know very little about HTML. ... > You could use the TIdHTTPServer component, part of the Indy suite. ... > you can send the same response no matter what URL is requested. ...
    (alt.comp.lang.borland-delphi)
  • Re: Hit Counter doesnt count
    ... Rob, I asked them why there were two index pages and they said I did it (like ... I could have at my level of understanding). ... Both versions on the server have lots more code than the html in FP. ... > | which Steve said was a no-no. ...
    (microsoft.public.frontpage.client)