Lex and parse .foo better.

'.as' is now valid, '. foo' is now invalid. See #141.
Clean up flex lines in build