Simple lexer, which treats every byte as a token. This is only used for tests.
Creates a character based lexer.
Advances to the next token and updates front and empty.
Gets the name for token with ID id.
Stores information about the current token.
Gets the internal ID for token with name tok.
True if all tokens are consumed.
See Implementation
Simple lexer, which treats every byte as a token. This is only used for tests.