Parrot 7.9.0 "Sangihe hanging parrot" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Fridays 13:30 UTC
Set by moderator on 26 October 2015.
08:06 rurban joined 11:38 rurban joined 12:40 rurban joined
Util Hi voidqk 13:43
Yes, you can use $I999999999 , which has 9 digits after the '$I'.
t/compilers/imcc/syn/regressions_13.pir shows that 4096 digits works, too.
I am not aware of any arbitrary limit.
I just used this program (with varying command-line input) with parrot 7.10.0 to establish that 10 million digits works:
rm -f big.pir; perl -wE 'my $n = "9" x shift; say ".sub main :main\\n\\$I$n = 42\\nsay \\$I$n\\n.end";' 8192 > big.pir; ./parrot big.pir
If you hit a limitation, please let us know!
14:51 rurban joined 17:58 rurban joined