[m-dev.] lexing min_int

Peter Wang novalazy at gmail.com
Wed Jan 25 10:25:09 AEDT 2012


On Tue, 24 Jan 2012 16:32:02 +1100 (EST), Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> 
> An alternative (although quite disruptive in terms of its impact on
> existing code) would be to change the integer/1 constructor of the
> token/0 type to be an arbitrary precision integer or a string.

Or add a big_integer(string) constructor.  Parsers can convert
that to whatever representation they like, or treat the token as an
error.

Peter
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list