Open shah opened 3 weeks ago
Yes, let me ponder whether this would be simple to add... probably so as the literal string parsing function is quite flexible.
There will still be differences regarding how SQL treat strings and how C-style languages treat strings, e.g. wrt escaping etc.
And one problem is the inability to differentiate a character from a string. All characters will be one-character strings like JavaScript.
Per our discussion in #911 there is a desire to treat single-quotes like ' the same as double-quotes like " (the same way JavaScript handles strings flexibly). This feature would allow non-technical users of scripting language to have three quotation modes - non-interpolated via " and ' and interpolated via back-tick.