develooper Front page | perl.bootstrap | Postings from July 2000

Re: Working Group Proposal

From:
Piers Cawley
Date:
July 20, 2000 08:05
Subject:
Re: Working Group Proposal
Message ID:
m1r98orgll.fsf@rt158.private.realtime.co.uk
Joshua N Pritikin <joshua.pritikin@db.com> writes:

> On Thu, Jul 20, 2000 at 02:21:21PM +0100, pdcawley@bofh.org.uk wrote:
> > Joshua N Pritikin <joshua.pritikin@db.com> writes:
> > > On a more serious note, will perl6 be written in C or C++?  If C, then I
> > > suggest that we avoid actually writing any C by hand, and instead write
> > > a perl5 code generator for each major component.
> > 
> > I was thinking the plan was to be able to write perl in perl. I kind
> > of assumed that this would mean that there would be a rather more
> > fully blown perl compiler that produced 'real' machine language
> > (either via C or directly).
> 
> Yah, sounds fun.
> 
> I envision a more specialized version of CFront (C++ to C translator). 
> Of course we have different goals than the designers of C++ -- we don't
> have to care about source code compatibility with C, and we could also
> generate C++ (or whatever) from the same backend.

Ah. Actually, I realised that doing executable generation purely in
Perl, whilst being kind of cute, would be reinventing a whole load of
unneccessary wheels when we can just let the (foo) compiler do it for
us. 

Turing completeness is a good thing...

-- 
Piers




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About