Start of compiler/parser.

The compiler at this stage can only handle global variable assignment
but has some stubs for additional functionality. the next step should
probably be defining states and binding to the matching functions.