romshark / llparser

A universal LL top-down parser written in Go
BSD 3-Clause "New" or "Revised" License
45 stars 1 forks source link

Builtin lexing #9

Closed romshark closed 4 years ago

romshark commented 4 years ago

Simplify the API by getting rid of the Lexer interface as well as the Term and Checked patterns. The Lexer interface caused unnecessary confusions. The pattern Lexed should be used instead.