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

Need Raku in popular syntax highlighters #50

Open
rypervenche opened this issue Aug 20, 2020 · 2 comments
Open

Need Raku in popular syntax highlighters #50

rypervenche opened this issue Aug 20, 2020 · 2 comments

Comments

@rypervenche
Copy link

I think that in order for us to be relevant and taken seriously, we need to be available to users and learners. When sharing code anywhere that involves syntax highlighting, we need to be there as a real language. I've run into highlight.js (Discord) and rouge (Gitlab) a lot and could see those helping us get to a level where more people see Raku as a serious language.

highlight.js: The Grammar Requests page has a link to an issue for Raku, however they need someone with knowledge of the syntax to submit a PR.

rouge: There is an outstanding PR by zakame found here. I forked the PR here and made a commit to rename everything from Perl 6 to Raku, however I feel that the PR still needs work. It is reliant on the Perl syntax file and contains some Perlisms that don't exist in Raku. It also lacks newer features to the language. I don't have the necessary skill to make the changes necessary, so all help would be appreciated.

There is also a PR for Pod6 found here, that could use some momentum.

@Altai-man
Copy link
Member

About hightlight.js: note it is possible some code can be adapted from https://github.com/perl6/atom-language-perl6/tree/master/grammars

@m-dango
Copy link

m-dango commented Jun 25, 2022

I may look into codemirror at some point, for syntax highlighting on exercism.org. (Issue raised in exercism/raku#520).

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

No branches or pull requests

3 participants