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

Re: SableCC sources doc?



Robert Feldt wrote:
> What is LR0Collection used for? Saving the GOTO sets or what?

It computes the collection of sets of LR(0) items.  In other words, it
builds the LR(0) states and related goto table.

(I'm using the optimized LALR(1) algorithm on page 240).

Etienne
-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: egagnon@j-meg.com
Author of SableCC:                             http://www.sablecc.org/
and SableVM:                                   http://www.sablevm.org/