[perl #47992] [RFE] 'parrot foo' automatically finds and invokes foo.pbc
Will Coleda via RT
parrotbug-followup at parrotcode.org
Thu Nov 5 05:29:21 UTC 2009
On Mon Sep 21 08:31:53 2009, pmichaud wrote:
> On Sun, Sep 20, 2009 at 11:30:58PM -0700, Will Coleda via RT wrote:
> > On Sat Aug 30 08:06:41 2008, pmichaud wrote:
> > > 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
> > Do the fakecutables satisfy the spirit of this request?
> IMO, not really. I don't think we want to treat fakecutables as
> the official mechanism for creating command-line tools using Parrot.
Migrated ticket to https://trac.parrot.org/parrot/ticket/1196; please direct any further
Will "Coke" Coleda
More information about the parrot-dev