I used command blocks to write a BASIC interpreter in vanilla Minecraft. You can use it to control Logo-like Turtles.
Download: http://sethbling.com/Scripting
SethBling Twitter: http://twitter.com/sethbling
SethBling Twitch: http://twitch.tv/sethbling
SethBling Facebook: http://facebook.com/sethbling
SethBling Website: http://sethbling.com
SethBling Shirts: http://sethbling.spreadshirt.com
Suggest Ideas: http://reddit.com/r/SethBlingSuggestions
Why going from i=2 to x-1? sqrt(x) is more than enough. Of course that must be calculated, but using x/2 should be twice as fast, too.
Next goal: Program vi pls :D.
Can you also compile the code, i.e. create command blocks from the code?
Yesterday I made a serial transmitter that uploaded at less than 0.0001Mb/s and felt pretty smug about it.
Today I saw a bytecode interpreter in minecraft.
Tomorrow I shall build a computer.
The day after I shall cure cancer.
Still better than Eclipse
@SethBling you only need to check up to the square root of n when checking for primes.
Now make an x86 emulator inside of Minecraft.
Ever heard of Garry's Mod? WTF are you trying to do this in minecraft for?!
Make C# in Minecraft then recreate Minecraft in it.
When I die, I want SethBling to resurrect me with 140221 command blocks and 1293103 armor stands.
Yeah !!!