progress, still needs a lot of work

better error messages, struct parsing, partial implementation of typed
variables, partial implementation of array variables