Closed conartist6 closed 6 months ago
There are two distinct scenarios in my mind:
This ticket is about scenario 2.
I'm going to close this for the moment because I'm not sure it's really a defect anymore. I believe that everything that will be necessary to support this functionality has been built.
Since we are talking about things like template strings that definitely parse in the underlying language before having another parser run on their content, in general we can't pretend that embedding-on is embedding-in, because it isn't. In other words, we must never pretend that there aren't two layers of meaning going on in something like a template string. If you ask to see only the syntax that JS will recognize, you would not that to include any of the syntax inside the template string.
Support languages embedded in other languages, e.g. Regex language embedded inside Javascript.