ColorCode-Universal icon indicating copy to clipboard operation
ColorCode-Universal copied to clipboard

Add support for Python, MATLAB, Julia and other scientific / mathematical languages

Open Calman102 opened this issue 4 years ago • 2 comments
trafficstars

Python in particular. It's the most popularly used language according to PYPL.

Calman102 avatar Dec 08 '20 11:12 Calman102

Thanks for the issue @Calman102! I'm surprised too, I didn't realize Python was missing.

The Languages are controlled by files here: https://github.com/windows-toolkit/ColorCode-Universal/tree/master/ColorCode.Core/Compilation/Languages

Please feel free to submit a PR to include them if you're up for it. If not we can add the Help Wanted tag to get some assistance from our community.

michael-hawker avatar Dec 08 '20 19:12 michael-hawker

After much effort learning how to use regular expressions, I did the syntax highlighting for Python and MATLAB. PR here: #15

I'm not familiar enough with Julia yet to do that myself, and I would also like to see R support at some stage.

Calman102 avatar Dec 10 '20 12:12 Calman102