Good to see someone else doing 
Arduino stuff. 

However your code is not sketch code and will not compile in the arduino IDE.  You mention forth?  

What software are you using to compile?