[Haskell-cafe] Keeping a symbol table with Parsec

Joel Reymont joelr1 at gmail.com
Mon Apr 2 18:20:15 EDT 2007


On Apr 2, 2007, at 11:17 PM, Nicolas Frisby wrote:

> Section 2.12 of the Parsec manual[1] discusses "user state." It sounds
> like that is what you are after.

Yes, thanks. My question is mostly about how to "return a different  
token" when the lexer finds an identifier that's already in the  
symbol table.

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list