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: Re: [Caml-list] Re: [Menhir-list] There's an elephant in the room: Solution to sharing a symbol table

On May 3, 2007, at 2:17 AM, skaller wrote:

> In fact Joel explained the 'elephant' technique:

The elephant in the room was something that, seemingly, no one talked  
about, although it was large and glaringly obvious.

>    let parser str =
>      let tab = .. in
>      let lexbuf = Lexing.from_string str in
>      let module P = EasyParser.Make (struct let tab = tab end) in
>      P.program (token tab) lexbuf

Kudos to Francois to offering the above example.

	Thanks, Joel

--
http://wagerlabs.com/