From: Emmanuel Onzon <emmanuel.onzon@ens-lyon.fr>
To: skaller <skaller@users.sourceforge.net>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] 246 constructors?
Date: Mon, 07 May 2007 10:21:10 +0200 [thread overview]
Message-ID: <20070507102110.hdvb0z4firk0ow0o@tadorne.ens-lyon.fr> (raw)
In-Reply-To: <20070506210912.38195BC82@yquem.inria.fr>
> On Sun, 2007-05-06 at 20:50 +0100, Jon Harrop wrote:
>> On Sunday 06 May 2007 20:49, skaller wrote:
>> > I just got this message:
>> >
>> > File "dyp_parse.ml", line 492, characters 5-19461:
>> > Too many non-constant constructors -- maximum is 246 non-constant
>> > constructors
>> >
>> > Really???
>>
>> Yeah, I was hardcoding a bunch of enums for my Mathematica
>> interpreter and got
>> that. Easiest solution is to use polymorphic variants instead. Then you have
>> clashes to worry about instead...
>
> Unfortunately (or not .. ) the file is generated by
> the dypgen parser generator..
I have just added an option -symbols-with-variants which makes dypgen use
variants instead of constructors. (see the file CHANGES for other changes
in this version)
Emmanuel
next parent reply other threads:[~2007-05-07 8:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070506210912.38195BC82@yquem.inria.fr>
2007-05-07 8:21 ` Emmanuel Onzon [this message]
2007-05-07 12:29 ` skaller
2007-05-06 19:49 skaller
2007-05-06 19:50 ` [Caml-list] " Jon Harrop
2007-05-06 20:20 ` skaller
2007-05-06 20:31 ` Till Varoquaux
2007-05-06 21:05 ` skaller
2007-05-06 21:11 ` Brian Hurt
2007-05-06 21:25 ` skaller
2007-05-06 22:16 ` Tom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070507102110.hdvb0z4firk0ow0o@tadorne.ens-lyon.fr \
--to=emmanuel.onzon@ens-lyon.fr \
--cc=caml-list@yquem.inria.fr \
--cc=skaller@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox