> On 4 May 2021, at 20:09, Maury Markowitz <maury.markow...@gmail.com> wrote: > > Before I reinvent the wheel: I'm wondering if anyone has some boilerplate > code for printing out the frequency of tokens found in the source?
The Bison parser calls yylex when getting new tokens, so you might it make it.