-
Notifications
You must be signed in to change notification settings - Fork 620
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
Perl 6 -> Raku rename #3777
Perl 6 -> Raku rename #3777
Conversation
I couldn't see how to add this to the 'make units' test; everything seems to get built and all other tests pass, however. Please review and let me know if I can do anything to improve the PR. |
Once this is approved, someone (me?) can work on updating any syntax changes since the original Perl 6 version, and perhaps removing the code to sniff out the differences between 5 & 6 (which are now using different extensions entirely) |
{ | ||
static const char *const extensions[] = { "p6", "pm6", "pm", "pl6", | ||
"t6", "raku", "rakumod", "rakutest", NULL }; | ||
static const char *const extensions[] = { "raku", "rakumod", "rakutest", "rakudoc", NULL }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ctags should support older code.
With this change, ctags cannot handle Perl6 files having '.pl6' as a suffix.
This is degrading.
Can we assume Raku is a superset of Perl6? This change may break two things:
I found two approaches: A. add a new file, raku.c, by copying perl6.c.
B. add a
If we should think perl6 and raku are different languages, we should choose A. @dtikhonov Do you have comments? |
Perl6 no longer exists, since 2019. It was renamed to Raku. So, not two different languages. Despite that, I can keep the old extensions. I’ll undo the ws change, sorry about that. |
I guess Raku doesn't accept '*.pm' So you don't have to change selectors.c Your change looks o.k.
|
BTW, you use your |
No, I don't have comments about the code change, @masatake. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #3777 +/- ##
=======================================
Coverage 83.04% 83.04%
=======================================
Files 227 227
Lines 55184 55192 +8
=======================================
+ Hits 45828 45836 +8
Misses 9356 9356
☔ View full report in Codecov by Sentry. |
I pushed commits reflecting my review comments to your branch. @coke Will you modify or update this pull request more before merging? |
I am very surprised that you would push into my fork on the branch I was working on. I didn't even realize this would be allowed by default. Please merge what you like: if you're happy with the current state. I do note that "make units | grep -i raku" still shows no tests being run. |
Looking at settings on coke/ctags, no one else is permitted; I'm very confused. |
When opening a PR, "allow edits by maintainers" setting is apparently enabled by default. |
Thank you. I didn't recognize it. I guess you did |
Thank you. I'm waiting for more contributions from you:-).
I was very surprised by the feature, too. I have used the feature only when I want to merge a pull request quickly. |
Good catch! |
A first pass at converting Perl6 to Raku.