Hacker News new | ask | show | jobs
by kpxxx 3311 days ago
> Since 'beginning-of-file' isn't really something you can reduce to a token...

Of course you can, generate a token immediately upon opening a file. Nothing special about b-o-f or b-o-l. Similar to EOF.