[chuck-users] this => now
Kassen
signal.automatique at gmail.com
Mon Mar 10 18:08:30 EDT 2008
A simple but amusing experiment in syntax.
I'm not sure yet if it's actually good for anything but it's kind of
interesting and it works so I thought I'd share.
Cheers,
Kas.
===============================================-
class War extends Event
{
spork ~foo();
fun void foo()
{
while(1)
{
this => now;
<<<"hello">>>;
}
}
}
War war;
second => now;
war.signal();
second => now;
=========================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20080310/0c29de4e/attachment.htm
More information about the chuck-users
mailing list