espra/lex: create package for core lexer functionality.