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

Recognize meta-op forms of user-defined ops in Rakudo #995

Closed
p6rt opened this issue May 14, 2009 · 4 comments
Closed

Recognize meta-op forms of user-defined ops in Rakudo #995

p6rt opened this issue May 14, 2009 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented May 14, 2009

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

Searchable as RT65660$

@p6rt
Copy link
Author

p6rt commented May 14, 2009

From @masak

<jnthn> rakudo​: sub infix​:<ö>($x, $y) { say "flyyy" }; (1,2,3) »ö« (4,5,6)
<p6eval> rakudo 612bcf​: OUTPUT«Statement not terminated properly at
line 1, near "\x{bb}\x{f6}\x{ab} (4,5,6" [...]
<jnthn> aww.
<masak> is that a new bug?
<jnthn> Yes. No.
<moritz_> jnthn​: I think meta-ops are pre-generated
<masak> I mean, apart from being a known butterfly.
<jnthn> (Can't parse unicode hypers is known.)
<masak> ok.
<jnthn> But as moritz_ said, we don't handle generating meta-op forms yet.
<jnthn> For user defined ops.
<pmichaud> ....but we might be able to do so.
<moritz_> aka it's a "todo bug" ;-)
<jnthn> Oh, I'm sure we can.
<jnthn> It's just whether it's worth hacking it in now, or waiting for
when we can parse them the more STD-ish way, if that's teh plan.
* masak submits TODO bug

@p6rt
Copy link
Author

p6rt commented May 20, 2009

From @jnthn

On Thu May 14 09​:23​:14 2009, masak wrote​:

<jnthn> rakudo​: sub infix​:<ö>($x, $y) { say "flyyy" }; (1,2,3) »ö« (4,5,6)
<p6eval> rakudo 612bcf​: OUTPUT«Statement not terminated properly at
line 1, near "\x{bb}\x{f6}\x{ab} (4,5,6" [...]
<jnthn> aww.
<masak> is that a new bug?
<jnthn> Yes. No.
<moritz_> jnthn​: I think meta-ops are pre-generated
<masak> I mean, apart from being a known butterfly.
<jnthn> (Can't parse unicode hypers is known.)
<masak> ok.
<jnthn> But as moritz_ said, we don't handle generating meta-op forms yet.
<jnthn> For user defined ops.
<pmichaud> ....but we might be able to do so.
<moritz_> aka it's a "todo bug" ;-)
<jnthn> Oh, I'm sure we can.
<jnthn> It's just whether it's worth hacking it in now, or waiting for
when we can parse them the more STD-ish way, if that's teh plan.
* masak submits TODO bug

Implemented in git 6381427. Also added basic spectests in the new
S13-overloading/metaoperators.t (feel free to review/add to it, anyone).

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented May 20, 2009

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

@p6rt
Copy link
Author

p6rt commented May 20, 2009

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

@p6rt p6rt closed this as completed May 20, 2009
@p6rt p6rt added the Todo label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant