Home | Reviews | GUIpedia | Forum | Fun500
aguma | New idea! Finally!This blog has gotten really slow recently, so I'm going to post something finally! Oh, and I actually have a good idea too. :P [b]Project D-[/b] will be the new command engine for Spark. It'll execute programs in BINARY mode, which is very confusing to read but more efficient, which is important cause I'm going to write EVERYTHING in it. Some of the commands I planned out: Command | Description > Puts a value in memory and increases the "current memory" counter < Gets a value from the memory address of the current memory counter, and stores it in register #parameter (valid numbers: 1-8) ( Increments the counter ) Decrements the counter g Register #parameter is set to the value of the counter o Sets the value of the counter +-*/^% Does the requested operation with memory[counter] and memory [parameter], then stores the result in memory[counter] . Outputs memory[counter] to the screen, or, if STRINGMODE is on, prints the ASCII representation of memory[counter] and increases counter until memory[counter] is equal to 0. STRINGMODE starts off. | Toggles STRINGMODE on/off. ? If STRINGMODE is off, it gets a number and puts it in memory[counter]. If STRINGMODE is on, it gets a string, and puts it in memory[counter] and subsequent characters in the next position in memory. When it gets character 13 (enter), it puts a 0 and stops. Just to be a bit esoteric... | 2009-06-01 | 6:21 PM |
2021 Brandon Cornell