| I'm sure I'll be shot, but someone had to do it. (240KB) then  http://www.softify.com/rainbow.jar
 It requires Java 5 - but because I was lazy, not because of any java 5 feature that was indispensable.  java -jar rainbow.jar
 (bsv) works, but not (nsv) yet due to something attempting to concatenate a string and nil which I haven't investigated yet. It doesn't do complex numbers, either. It calculates the first 100000 prime numbers at about half the speed of the official scheme version, but there's a lot of scope for optimisation. rainbow loads arc.arc and other libs from the arc2 distribution bundled inside the jar. Let me know what you think. I'll link to the source once I tidy it up. It's called "rainbow" because of an obscure pun involving french. And it's 1:30am now where I live, so I'll be back tomorrow, good night. |