Modified lexer and error handling
Rudimentary support for array parsing