Skip to content
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

rakudo parses "555 ~~!~~ 666" but STD doesn't #1921

Closed
p6rt opened this issue Jul 9, 2010 · 7 comments
Closed

rakudo parses "555 ~~!~~ 666" but STD doesn't #1921

p6rt opened this issue Jul 9, 2010 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Jul 9, 2010

Migrated from rt.perl.org#76436 (status was 'resolved')

Searchable as RT76436$

@p6rt
Copy link
Author

p6rt commented Jul 9, 2010

From @bbkr

[12​:43] <bbkr> std​: 555 ! 666
[12​:43] <p6eval> std 31588​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0mâ�¤Expecting a
term, but found either infix ~~ or redundant prefix ~� (to suppress this
message, please use space between ~ ~) at /tmp/EZ59HXaH3Q line 1​:â�¤------> �
[32m555 ~~!~~�[33mâ���[31m 666�[0mâ�¤Parse failedâ�¤FAILED 00​:01 112mâ�¤Â»
[12​:43] <bbkr> rakudo​: 555 ! 666
[12​:43] <p6eval> rakudo 1086ff​: ( no output )

[12​:44] <jnthn> heh
[12​:44] <jnthn> bet it parsed as
[12​:44] <jnthn> 555 ~~ !(((666)))

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

From @coke

On Fri Jul 09 03​:45​:52 2010, pawel.pabian@​implix.com wrote​:

[12​:43] <bbkr> std​: 555 ! 666
[12​:43] <p6eval> std 31588​:
OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m�Expecting a
term, but found either infix ~~ or redundant prefix ~� (to suppress
this
message, please use space between ~ ~) at /tmp/EZ59HXaH3Q line
1​:â�¤------> �
[32m555 ~~!~~�[33mâ���[31m 666�[0mâ�¤Parse failedâ�¤FAILED 00​:01 112mâ�¤Â»
[12​:43] <bbkr> rakudo​: 555 ! 666
[12​:43] <p6eval> rakudo 1086ff​: ( no output )

[12​:44] <jnthn> heh
[12​:44] <jnthn> bet it parsed as
[12​:44] <jnthn> 555 ~~ !(((666)))

This is actually failing differently via evalbot & the REPL​:

555 ! 666
Confused at line 1, near " 555 !"

but​:

00​:50 <[Coke]> rakudo​: 555 ! 666
00​:50 <p6eval> rakudo 67778a​: ( no output )

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 21, 2012

From @coke

On Tue Aug 17 21​:51​:39 2010, coke wrote​:

On Fri Jul 09 03​:45​:52 2010, pawel.pabian@​implix.com wrote​:

[12​:43] <bbkr> std​: 555 ! 666
[12​:43] <p6eval> std 31588​:
OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m�Expecting a
term, but found either infix ~~ or redundant prefix ~� (to suppress
this
message, please use space between ~ ~) at /tmp/EZ59HXaH3Q line
1​:â�¤------> �
[32m555 ~~!~~�[33mâ���[31m 666�[0mâ�¤Parse failedâ�¤FAILED 00​:01 112mâ�¤Â»
[12​:43] <bbkr> rakudo​: 555 ! 666
[12​:43] <p6eval> rakudo 1086ff​: ( no output )

[12​:44] <jnthn> heh
[12​:44] <jnthn> bet it parsed as
[12​:44] <jnthn> 555 ~~ !(((666)))

This is actually failing differently via evalbot & the REPL​:

555 ! 666
Confused at line 1, near " 555 !"

but​:

00​:50 <[Coke]> rakudo​: 555 ! 666
00​:50 <p6eval> rakudo 67778a​: ( no output )

REPL confusion no longer happens, just reports "False".

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Mar 4, 2015

From @Mouq

Current behavior​:

02​:31 <Mouq> m​: 555 ! 666
02​:31 <camelia> rakudo-moar 070196​: OUTPUT«===SORRY!=== Error while compiling /tmp/C8fk2pizJCâ�¤Expecting a term, but found either infix ~~ or redundant prefix
  ~â�¤ (to suppress this message, please use space between ~ ~)â�¤at /tmp/C8fk2pizJC​:1â�¤------> 555 ~~!~~â�� 666â�¤Â»

In the REPL​:

555 ! 666
False

Closable with tests :)

On Sat Oct 20 18​:18​:29 2012, coke wrote​:

On Tue Aug 17 21​:51​:39 2010, coke wrote​:

On Fri Jul 09 03​:45​:52 2010, pawel.pabian@​implix.com wrote​:

[12​:43] <bbkr> std​: 555 ! 666
[12​:43] <p6eval> std 31588​:
OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m�Expecting a
term, but found either infix ~~ or redundant prefix ~� (to suppress
this
message, please use space between ~ ~) at /tmp/EZ59HXaH3Q line
1​:â�¤------> �
[32m555 ~~!~~�[33mâ���[31m 666�[0mâ�¤Parse failedâ�¤FAILED 00​:01 112mâ�¤Â»
[12​:43] <bbkr> rakudo​: 555 ! 666
[12​:43] <p6eval> rakudo 1086ff​: ( no output )

[12​:44] <jnthn> heh
[12​:44] <jnthn> bet it parsed as
[12​:44] <jnthn> 555 ~~ !(((666)))

This is actually failing differently via evalbot & the REPL​:

555 ! 666
Confused at line 1, near " 555 !"

but​:

00​:50 <[Coke]> rakudo​: 555 ! 666
00​:50 <p6eval> rakudo 67778a​: ( no output )

REPL confusion no longer happens, just reports "False".

@p6rt
Copy link
Author

p6rt commented Mar 4, 2015

From @Mouq

Tests added to Roast in commit​:

commit afcf79755ff704d4c07c5384011b6fe94492e752
Author​: Mouq <alexmoquin@​gmail.com>
Date​: Wed Mar 4 00​:28​:08 2015 -0500

  Add tests for RTs #​73198 and #​76436

Closing as resolved :)

On Tue Mar 03 18​:32​:34 2015, Mouq wrote​:

Current behavior​:

02​:31 <Mouq> m​: 555 ! 666
02​:31 <camelia> rakudo-moar 070196​: OUTPUT«===SORRY!=== Error while
compiling /tmp/C8fk2pizJC�Expecting a term, but found either infix ~~
or redundant prefix
~� (to suppress this message, please use space
between ~ ~)â�¤at /tmp/C8fk2pizJC​:1â�¤------> 555 ~~!~~â�� 666â�¤Â»

In the REPL​:

555 ! 666
False

Closable with tests :)

On Sat Oct 20 18​:18​:29 2012, coke wrote​:

On Tue Aug 17 21​:51​:39 2010, coke wrote​:

On Fri Jul 09 03​:45​:52 2010, pawel.pabian@​implix.com wrote​:

[12​:43] <bbkr> std​: 555 ! 666
[12​:43] <p6eval> std 31588​:
OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m�Expecting a
term, but found either infix ~~ or redundant prefix ~� (to
suppress
this
message, please use space between ~ ~) at /tmp/EZ59HXaH3Q line
1​:â�¤------> �
[32m555 ~~!~~�[33mâ���[31m 666�[0mâ�¤Parse failedâ�¤FAILED 00​:01 112mâ�¤Â»
[12​:43] <bbkr> rakudo​: 555 ! 666
[12​:43] <p6eval> rakudo 1086ff​: ( no output )

[12​:44] <jnthn> heh
[12​:44] <jnthn> bet it parsed as
[12​:44] <jnthn> 555 ~~ !(((666)))

This is actually failing differently via evalbot & the REPL​:

555 ! 666
Confused at line 1, near " 555 !"

but​:

00​:50 <[Coke]> rakudo​: 555 ! 666
00​:50 <p6eval> rakudo 67778a​: ( no output )

REPL confusion no longer happens, just reports "False".

@p6rt p6rt closed this as completed Mar 4, 2015
@p6rt
Copy link
Author

p6rt commented Mar 4, 2015

@Mouq - Status changed from 'open' to 'resolved'

@p6rt p6rt added the testneeded label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant