Precise scanner grammar.
Tests for keywords.