If you just want to get an html to postscript converter on your
machine, you can download one of many such C programs. <OT> It is
also possible to convert a perl program into a native executable using
freely available experimental software or the Perl2Exe software
provided by indigoSTAR (
www.indigostar.com). You could then run this
converted Perl program on a machibe that does not have Perl said:
There are utilities for converting one programming language to another.
Lots of them. For major and minor languages.
Not sure what you mean by major and minor languages.
(The very program I am referring to above, html2ps, is
such a program. HTML is a language understood by webbrowsers, and PS is
a language understood by printers.)
Why not this one?
<OT> I think there is a big difference here. First, html and ps are
not programming languages, they are markup languages used to describe
how something should be presented. Additionally, most of the time,
html and ps documents are not read or written by hand, they are
created and presented with tools that understand the language which is
why I think that tools that can convert between them are more useful
(since there probably aren't many people that can convert to or from
postscript by hand). A tool to convert between programming languages,
especially between something like C and Perl, would be much more
difficult to implement and would probably require some knowledge of
both languages just to use in most cases anyway. I also don't think
the demand is there. said:
Why couldn't that programmer that knows both languages sit down and
write a perl2C converter in C?
The answer is, of course, that they could.
Have they?
<OT> Not that I am aware of, and as I said above, it probably wouldn't
be an seamless solution. It would also probably involve having Perl
installed on the machine doing the conversion. I also don't think
that many people who know both languages are very interested in
creating such a tool (and apparently they aren't). Perl is more of a
high-level scripting language and most people that use it don't really
have an interest in having their programs converted to C. Alot of
people using Perl have migrated from C or have a dislike for C as well
That's what I am trying to find out.
AC
Rob Gamble