Implement lexer and parser.

Also includes version info.