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

First attempt to use a dispatcher instead of nqp::p6definite #5456

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vrurg
Copy link
Member

@vrurg vrurg commented Nov 4, 2023

Although this PR patches the legacy parser, but it was inspired by @MasterDuke17 notice about getting rid of nqp::p6 family altogether for the better optimizations of new-disp approach. So, would make better sense with RakuAST.

Currently needs taking care about $v.VAR.DEFINITE case where it erroneously reports False. From the point of view of a dispatcher there is no difference if it is $v.DEFINITE or $v.VAR.DEFINITE. Therefore the most likely solution would be to somehow know that the invocant is a .VAR call and signal this fact via an extra argument of the dispatcher.

Currently needs taking care about `$v.VAR.DEFINITE` case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant