[Swift-devel] remote file/directory stuff (bug 22)
Yong Zhao
yongzh at cs.uchicago.edu
Fri May 4 10:22:19 CDT 2007
what does f < "in.txt" mean here? wouldn't it be placed before the call?
Yong.
On Fri, 4 May 2007, Ben Clifford wrote:
>
>
> On Tue, 27 Feb 2007, Mihael Hategan wrote:
>
> > If you can make this translate into something like vdl:(in|
> > out)appmapping(var, path, dest), preferably after the stagein/stageout
> > directives, I can probably make it work.
>
> I have a patch that (at least for input files) makes this:
>
> type file;
>
> (file o) cat(file f) {
> app {
> cat "in.txt" stdout=@o;
> f < "in.txt";
> }
> }
>
> file a <"hello.txt">;
> file b <"output.txt">;
>
> b=cat(a);
>
>
> turn into this kml (fragment):
>
> <vdl:execute>
> <vdl:tr>cat</vdl:tr>
> <vdl:stagein var="{f}"/>
> <vdl:stageout var="{o}"/>
> <vdl:arguments>
> <string>in.txt</string>
> </vdl:arguments>
> <vdl:stdout>
> <vdl:filename>
> <vdl:getfield path=""><variable>o</variable></vdl:getfield>
> </vdl:filename>
> </vdl:stdout>
> <vdl:inappmapping>
> <variable>f</variable>
> <string></string>
> <string>"in.txt"</string>
> </vdl:inappmapping>
> </vdl:execute>
>
> However, I have no implementation of the <vdl:inappmapping> element. I
> guess its time for me to poke round at the guts of vdl.k a bit more.
>
>
> --
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>
More information about the Swift-devel
mailing list