Text this: Design and Implementation of a Compiled Declarative Language for Game AI Control