Version française
Home     About     Download     Resources     Contact us    
Browse thread
There's an elephant in the room: Solution to sharing a symbol table
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: There's an elephant in the room: Solution to sharing a symbol table

%type <Symtab.t -> Easy.program>

program: statement EOF { fun t -> List.rev ($1 t) }

etc

Would this work with Menhir and would it be detrimental to performance?

I think there's an elephant in the room. Functorization of a Menhir- 
generated parser doesn't solve this issue since the specialization  
happens at compile time whereas a new symbol table is a run-time value.

	Thanks, Joel
	
--
http://wagerlabs.com/