Author Topic: It would be great if embedded language was user configurable  (Read 1159 times)

sigmund

  • Community Member
  • Posts: 89
  • Hero Points: 9
It would be great if embedded language was user configurable
« on: September 18, 2015, 01:27:54 pm »
It would be great if setting up an embedded language was user configurable.  In C++, I would for instance like to switch to my OpenGL Shading Language lexer inside all 'R"OpenGL_shading_language(' raw string literals.

sigmund

  • Community Member
  • Posts: 89
  • Hero Points: 9
Re: It would be great if embedded language was user configurable
« Reply #1 on: March 13, 2021, 01:28:24 pm »
This is something I would still very much like to see, some 5+ years later...

Or maybe I just do not know how to set it up?  How can I for example teach SlickEdit to switch to use embedded JavaScript color coding in an EM_JS() or EM_ASM() macro invocation in a .cpp file?

https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#interacting-with-code-call-javascript-from-native