-
-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support template literals #466
Comments
@dcodeIO can i have a look at it? |
@mdaj06 BTW this issue is something we are interested to give grant for: |
sure got it! |
Template literals mostly finished: #1715 |
Initial support for template literals has been merged now, with tagged template literals not enabled just yet due to having to account for an edge case first, which requires implementing |
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
Regular template literals would be very nice for stuff like logging, so that you can basically have stuff like:
instead of current
This looks like a feature which only requires compiler-level sugar and zero runtime support.
More than that, we probably can hijack tagged templated literals to support UTF-8 string literals, i.e. have stuff like:
The text was updated successfully, but these errors were encountered: