A simple but amusing experiment in syntax.<br><br>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.<br><br>Cheers,<br>Kas.<br><br>===============================================-<br>
class War extends Event<br> {<br> spork ~foo();<br> <br> fun void foo()<br> {<br> while(1)<br> {<br> this => now;<br> <<<"hello">>>;<br>
}<br> }<br> }<br> <br>War war;<br><br>second => now;<br>war.signal();<br>second => now;<br>=========================<br>