I was wondering if there was any syntax for using JavaScript template literals like
(literal "hello ${variable-name}")
Output: `hello ${variableName}`
Hi,
not sure, but you may want to look at CL-INTERPOL.
Otherwise, (format NIL "..." ...) is your friend.
Cheers
MA
On Tue, Apr 2, 2024 at 6:59 PM Drew Jose mail@drewsh.com wrote:
I was wondering if there was any syntax for using JavaScript template literals like
(literal "hello ${variable-name}")
Output: `hello ${variableName}`
On Tue, 02 Apr 2024 21:45:11 +0200 Marco Antoniotti marco.antoniotti@unimib.it wrote:
Hi,
not sure, but you may want to look at CL-INTERPOL.
Can CL-INTERPOL be usefully used to interpolate javascript variables into strings?
parenscript-devel@common-lisp.net