@Downgoat You keep track of position and velocity in each coordinate. Calculate the force on body 1 as m2 / r^2, where r is the distance. For each velocity component, add that force. For each position component, add the updated velocity. I typically put in a constant factor to tweak the time span, so to speak.
@Dennis that is the version that can read from files, yes. Although you might want to use out/builds/convex-dev/convex/convex.jar since that will always be the latest release (which is 0.6 atm).
@Dennis Don't worry, I'm confused as well, how do you want to pass the program to the interpreter? As of right now it reads from a file with the name as the command-line arg. If you want to pass the program to the interpreter as a string on the command line args like java -jar convex.jar {program} then Ill have to modify the interpreter real quick.
@Dennis There is no file access from inside the program. g is removed and that was the only way to get information from outside the program besides STDIN and STDOUT
@QPaysTaxes you always edit your messages a little after sending them and I get a little ping and I look at it like, "heh, I know all your history, lil' message"