Take a look on Instructables for djsfantasi. I have an ‘ible which describes my software. Ive developed a program which implements an interpreted language that I call a-code (for animatronic code). I believe listings are available there as well.
Perhaps this can help you?