Version française
Home     About     Download     Resources     Contact us    
Browse thread
Maximum non-constant constructors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <Alain.Frisch@i...>
Subject: Re: [Caml-list] Maximum non-constant constructors
Tom Hawkins wrote:
> I just discovered another limitation: the maximum number of non-constant 
> constructors is 246.
> 
> My modified OCaml parser generator (ocamlyacc with ints -- see previous 
> post) is producing a parser that consumes 342 different tokens types.
> 
> Are there any ways to bypass this limitation?

Polymorphic variants.

-- Alain