[Swift-user] A swiftscript that doesn't seem to terminate

Mihael Hategan hategan at mcs.anl.gov
Mon Oct 15 11:59:30 CDT 2007


You should not reuse variables. In other words updating the value of a
variable is something that doesn't have proper semantics in Swift, since
it's dataflow oriented.

Mihael

On Mon, 2007-10-15 at 12:43 -0400, Allen, M. David wrote:
> This SwiftScript (toy code written to test an idea) doesn't seem to
> terminate.  It doesn't use much in the way of resources, it
> just....never quits running.
>  
> Any thoughts?
>  
> blackbox_A, blackbox_B, and blackbox_C are all aliases for "echo" in
> my tc.data.
>  
> $ swift -verbose -dryrun example.dtm
> Using sites file: /home/dmallen/swift/vdsk-0.3/etc/sites.xml
> Using tc.data: /home/dmallen/swift/vdsk-0.3/etc/tc.data
> Swift v0.3 r1319 (modified locally)
>  
> Swift v0.3 r1319 (modified locally)
>  
> RunID: 20071015-1243-4apur7d1
> RunID: 20071015-1243-4apur7d1
>  
> (...)
>  
> --
> M. David Allen
>  
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user




More information about the Swift-user mailing list