WIP: lexer: introduce StateFn, Accept()/AcceptAll() and Position to aid parsing #3

Closed
amery wants to merge 3 commits from pr-amery-lexer into main

3 Commits

Author SHA1 Message Date
Alejandro Mery 48b75ec3c3 lexer: introduce a Position (Line, Column) handler 1 year ago
Alejandro Mery a4124fb3e1 lexer: introduce Accept()/AcceptAll() helpers 1 year ago
Alejandro Mery d760902dce lexer: introduce StateFn and the basic state machine loop 1 year ago