-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Hi
Can you add quote syntax to expand s-expression to data?
Now I'm trying to use lispyscript with gulp.
Gulp have api like this.
gulp.task("taskname", function() { doSometing(); })
I'd like to use this api like this using macro.
(deftask taskname
(doSomething))
But I can't found the way to convert taskname to "taskname" in macro.
I propose more general solution that implement quote.
I want to use quote syntax like this:
(quote taskname)
Expand to js like
"taskname"
Then I can define macro like:
(macro (name rest...)
(gulp.task (quote ~name) (function () ~rest...)))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels