[Swift-devel] remote file/directory stuff (bug 22)
Ben Clifford
benc at hawaga.org.uk
Tue Feb 27 13:22:59 CST 2007
On Mon, 26 Feb 2007, Mihael Hategan wrote:
> Right. This would be the "application mapper".
> Now, there are a few things here:
> We may also want to do the same to the input, because some even more
> twisted apps will not even accept that as a parameter. So:
> (file k, file m, file n) myapp(file l) {
> app{
> l>"input.txt";
> myapp;
> k<"output.crd"
> m<"output.prd"
> n<"output.rtf"
> }
> }
so something like the above syntax, sufficient to address Nika's cases, is
probably the way to go for bug 22, without necessarily implementing more
complicated stuff like arrays below.
That should give us a feel for how the concept works in practice too.
> This may become a little trickier when inputs (or even outputs) are
> arrays, so we may need nicer schemes:
> (file o) myapp(file i[]){
> app{
> i[x=*] > "input"+$1; (or something like that)
> myapp;
> ...
> }
> }
--
More information about the Swift-devel
mailing list