This is currently in the todo stage, but until then is there a way to give some statement explicitly?
like (inline-js "import {x} from y;")
I don't think there's one builtin, but it's trivial to define one:
(ps::define-expression-operator inline-js (x) `(ps-js:escape ,x)) (ps:ps (inline-js "import {x} from y")) ;; => "import {x} from y;"
On Wed, 03 Apr 2024 09:23:30 +0200 Drew Jose mail@drewsh.com wrote:
This is currently in the todo stage, but until then is there a way to give some statement explicitly?
like (inline-js "import {x} from y;")
parenscript-devel@common-lisp.net