azawawi / farabi6

Experimental in-browser Perl 6 Editor
Artistic License 2.0
14 stars 12 forks source link

Better Perl 6 Syntax highlighting #46

Open azawawi opened 9 years ago

azawawi commented 9 years ago

Currently CodeMirror, the JavaScript-based editing component in farabi6 does have any CodeMirror-maintained Perl 6 syntax highlighting mode. The mode that is currently maintained is based on the Perl mode and has a lot of problems. We need to fix it ASAP to make Perl 6 code look great on our platform. Once we have a good implementation, we should merge it with CodeMirror.

Perl 6 mode https://github.com/azawawi/farabi6/blob/master/lib/Farabi6/files/assets/mode-perl6.js

Original Perl mode https://github.com/codemirror/CodeMirror/blob/master/mode/perl/perl.js