For Programmers: Free Programming Magazines  


Home > Archive > Compilers > October 2007 > Compiling to Perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compiling to Perl
Joachim Durchholz

2007-10-03, 7:14 pm

Hi all,

Are there any online resources about compiling to Perl? Any
information about existing compilers or things to consider when
writing such a compiler will be appreciated.

Background: I'm looking for ways to use a saner language than Perl or
PHP for CGI scripts that we write for money. Customers being what they
are, most will be hosted on some third-party server, so the only thing
that we can really rely on is Perl/PHP. I'm asking about Perl because
I believe it is more stable, more secure and faster than PHP. I'll
reconsider given the right arguments :-)

Regards,
Jo

Brian Palmer

2007-10-05, 7:14 pm

Joachim Durchholz <jo@durchholz.org> writes:

> Hi all,
>
> Are there any online resources about compiling to Perl? Any
> information about existing compilers or things to consider when
> writing such a compiler will be appreciated.


http://www.onlamp.com/pub/a/onlamp/...nstruction.html
is probably relevant (although he gave up on compiling to perl
itself,and instead wrote the project to compile to parrot[0], there's
a bit of discussion of what the to-perl compilation process looks
like).


[0] Parrot is the backend for the
probably-going-to-be-finished-someday perl6. If parrot were more
common, it'd probably be a better target for your compiler than
perl5. But it's certainly not commonly available now.


--
I'm awfully glad I'm a Beta, because I don't work so hard.

Joachim Durchholz

2007-10-13, 4:35 am

Brian Palmer schrieb:
>
> http://www.onlamp.com/pub/a/onlamp/...nstruction.html
> is probably relevant


Thanks - interesting, but unfortunately not really relevant (not even
as a negative - the reasons why he gave up on compiling to Perl was
because he had access to Parrot, and that's not a real option right
now for me).

I have been asking in the Perl community, but I got no results either.
So it seems Nobody Is Doing That.

Regards,
Jo

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com