Thrashing around on google I found this…
…which seems to be the model of GCodeParser. Search for GCode_Interpreter_v1_13.zip in that thread.
It has things like…
#define X_STEP_PIN 2
#define X_DIR_PIN 3
…etc. which will have to be chamged for the Orion, but it looks a nice piece of worl.