perl6-internals
[Top] [All Lists]

Re: [perl #47992] [RFE] 'parrot foo' automatically finds and invokes foo

To: Allison Randal via RT <parrotbug-followup@parrotcode.org>
Subject: Re: [perl #47992] [RFE] 'parrot foo' automatically finds and invokes foo.pbc
From: "Patrick R. Michaud" <pmichaud@pobox.com>
Date: Sat, 30 Aug 2008 10:06:16 -0500
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-internals@perl.org
Delivered-to: perl6-internals@perl.org
Delivered-to: parrotbug-followup@parrotcode.org
In-reply-to: <rt-3.6.HEAD-29762-1220107507-1766.47992-74-0@perl.org>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-internals.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
References: <RT-Ticket-47992@perl.org> <20071130194527.GA12232@host.pmichaud.com> <rt-3.6.HEAD-29762-1220107507-1766.47992-74-0@perl.org>
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Sat, Aug 30, 2008 at 07:45:08AM -0700, Allison Randal via RT wrote:
> As mentioned in RT #49168, I'm in favor of a --language flag, 
> that selects the default PBC/PIR file to run, and passes all other 
> arguments to the ':main' sub in that file. It can also select default 
> paths based on the options set the the configuration file for that language.

Agreed on the --language concept, although I think I prefer "--prog"
(mentioned in #49168) to "--language".  Not everything we might want
to invoke in this manner is actually a compiler or language.

If we're agreed on this approach, I'll open a [todo] ticket for it.
I might even write the patch to make it work.  :-)

Pm


<Prev in Thread] Current Thread [Next in Thread>
  • Re: [perl #47992] [RFE] 'parrot foo' automatically finds and invokes foo.pbc, Patrick R. Michaud <=