lexer: Reader.Accept(), AcceptAll(), and StateFn #5

Merged
amery merged 3 commits from pr-amery-lexer into main 1 year ago

3 Commits

Author SHA1 Message Date
Alejandro Mery 05d504346e lexer: extend Run() to treat io.EOF as non-error termination 1 year ago
Alejandro Mery 1d62857e14 lexer: introduce StateFn and the basic state machine loop 1 year ago
Alejandro Mery d83b128c30 lexer: introduce Reader.Accept()/AcceptAll() 1 year ago