ianlewis / lexparse

Experimental lexer/parser library written in Go
Apache License 2.0
0 stars 1 forks source link

Don't depend on runeio #3

Closed ianlewis closed 10 months ago

ianlewis commented 10 months ago

Just define a BufferedRuneReader interface and accept that in NewLexer. Don't depend on runeio. These libraries can be decoupled.