-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
First, thanks for this great work - I like it!
So, I am working on injecting JS into cljs code like this: (js* "console.log(~{});", 10) (that's a valid ClojureScript code). This will parse as (sym_lit ... (string_lit) (num_lit)).
What I want is to inject a Javascript grammar into this string_lit, but unfortunately, this doesn't work because what will be captured by the JS grammar is "console.log(~{});", and not only the inner contents.
Is it easy/possible to break down (string_lit) into "\"" (string_contents) "\""?
Metadata
Metadata
Assignees
Labels
No labels