EnlighterJS icon indicating copy to clipboard operation
EnlighterJS copied to clipboard

Supercollider

Open IpadDilectio opened this issue 3 years ago • 6 comments

Do you think it is possible to integrate the formatting of the Supercollider code?

IpadDilectio avatar Jun 13 '22 12:06 IpadDilectio

contributions are welcome. the "language" looks mostly like js - so it should be covered by js and also the generic highlighting

AndiDittrich avatar Jun 13 '22 17:06 AndiDittrich

Thank you for your answer.

However, it doesn't work as well as in the built-in Supercollider editor. The keywords are not really recognized.

I don't know if I can contribute, as I am rather new to this kind of coding.

This is an image of a colorful code in Supercollider with the Dracula theme, it will give you an idea.

See you soon.

IpadDilectio avatar Jun 14 '22 15:06 IpadDilectio

take a look into the js language support to see how it's implemented: https://github.com/EnlighterJS/EnlighterJS/blob/master/src/lang/javascript.js

AndiDittrich avatar Jun 14 '22 15:06 AndiDittrich

Hello, I'm sorry but even if I would like to contribute my coding skills are limited. I'm a philosophy teacher first, and I only code in markdown, latex, and supercollider for the moment. And still, I'm a beginner in supercollider coding. Supercollider is an audio programming environment that seems to be quite similar to Smalltalk with a syntax quite similar to C languages. I don't think EnlighterJS supports Smalltalk at the moment. And I'm not sure how long it would take you to implement the Supercollider language in EnlighterJS. I don't code enough to realize how long it would take. What I do believe, however, is that it would take me much more time than I have available. So, do you think you would have the time to integrate the supercollider language, or is this a low priority request for you given how few people are interested in this type of language?

In any case, thank you for answering me. We all have very busy schedules, so I am quite capable that you don't have enough time. Kind regards

IpadDilectio avatar Jun 17 '22 08:06 IpadDilectio

compared to other "high demanded" language support requests, this one here has a very low priority - sry

the generic highlighting should cover the syntax

AndiDittrich avatar Jun 17 '22 08:06 AndiDittrich

Yes, I suspected as much. Thank you for your answer

IpadDilectio avatar Jun 17 '22 08:06 IpadDilectio