Created new module ParserCore, for now just for parseError function.
Changed value matching in parser - now primitive value tokens are
matched by whole token, and values are extracted using unsafe partial
functions.