New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"3e4" does not parse as 30000 #56
Comments
From @avarThis causes t/operators/numify.t in the spec tests to fail. The only |
From zev-perl6@strangersgate.comThe fix is straightforward, but this change should also be made in Zev |
From zev-perl6@strangersgate.comexponential.patchIndex: languages/perl6/src/parser/grammar.pg
===================================================================
--- languages/perl6/src/parser/grammar.pg (revision 25537)
+++ languages/perl6/src/parser/grammar.pg (working copy)
@@ -532,7 +532,7 @@
| \d+[_\d+]*
{{ say "Leading 0 does not indicate octal in Perl 6" }} # FIXME
]
- | \d+[_\d+]*
+ | \d+[_\d+]* [ <[Ee]> <[+\-]>? \d+ ]?
]
{*}
}
|
From zev-perl6@strangersgate.comThere is a patch in RT #50550. Zev |
The RT System itself - Status changed from 'new' to 'open' |
From @jquelinOn 08/02/05 15:21 -0800, Zev Benjamin via RT wrote:
why on earth did i get a copy of your answer? something's fishy in there... jérôme |
From @cokeOn Feb 5, 2008 4:41 PM, via RT Zev Benjamin
FYI, I've merged the two tickets. -- |
From anjohnson@iee.orgOn Tue Feb 05 13:41:02 2008, zev-perl6@strangersgate.com wrote:
This patch would make 3e-4 a valid integer literal, even though it's not This is part of the question of what distinguishes an integer from a Here are a few examples that need answers from the language lawyers: - Andrew |
From @pmichaudOn Fri Mar 07 23:08:14 2008, songmaster wrote:
STD.pm has since been updated to have the correct parsing -- the answer In r26812 I've just updated rakudo to match STD.pm, so this ticket can
Just for completeness: .1 Not a legal number (leading digit required) Closing ticket, thanks! Pm |
@pmichaud - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#49910 (status was 'resolved')
Searchable as RT49910$
The text was updated successfully, but these errors were encountered: