help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collecting statistics after parsing


From: Hans Åberg
Subject: Re: Collecting statistics after parsing
Date: Tue, 4 May 2021 20:54:17 +0200

> On 4 May 2021, at 20:09, Maury Markowitz <maury.markowitz@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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]