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

Re: `compacting` parser classes



Hi Radu,

Thanks!

Etienne

Radu wrote:
[...]
I wrote a Perl script that takes the output from SableCC v.3.2 and `compacts` the alternative and token classes into a much smaller number of classes. Any classes not found in the source parser are named Common*
It is a "quick and dirty" approach, that does not involve changes in the SableCC source code.
[...]
I'm posting the script in case somebody may find it useful.

-- 
Etienne M. Gagnon, Ph.D.
SableCC:                                            http://sablecc.org