On 30/10/02 10:11 +0000, Nicholas Clark wrote:
> On Tue, Oct 29, 2002 at 03:15:24PM -0800, Brian Ingerson wrote:
> > I'm looking into building a pure Perl version of gmake. It will use object
> > oriented modules. You could use these yourself to parse and rewrite the
> > Makefile. And you could always serialize the object in YAML.
> 
> You could get a headstart by adopting and extending Nick I-S's pmake
> http://search.cpan.org/author/NI-S/Make-1.00/pmake

heh. I just found this 10 minutes ago :)

It's great. Cross that off my list. Thank god.

>     Performs the same function as make(1) but is written entirely in
>     perl. A subset of GNU make extensions is supported. For details see
>     Make for the underlying perl module.
> 
> athough I still wonder why we are thinking about how to hack round non
> portability in make, with perl programs communicating with other perl
> programs via makefiles, when we could just ditch Makefiles completely
> by integrate the MakeMaker and make stages.

I think extending the make thing is easiest. Everything works everywhere
already. I'm actually a big fan of extending legacy. The old inventors were
no slouches. Writing something new is always easy for the first 80%. After
that you start appreciating the legacy more and more :)

I'd save retooling for Perl6 where you have to do it anyway.

Cheers, Brian

Reply via email to