use algorithmatic.com's in-browser integrated-development-environment here. The IDE offers syntax-highlighting, realtime validation, syntax-autocompletion, autocompletion for external-calls, interpreter and basic debugging.
Account
signin
algorithmatic.com uses OpenID - that means you don't need to register, probably you already have an OpenID, you just need to enable it. Click here to sign in
Nice implementation JAnderton. I hope you don't mind that I modified your implementation slightly to make it callable* by external algorithms. What I did is I moved the fact() function to Execute, since all functions must be consolidated in order to enable external calls. For more info see http://www.algorithmatic.com/wiki/display/algorithmatic-reference-manual#heading_0