Eslisp: Macro that compiles its arguments

node v10.24.1
version: master
endpointsharetweet
esl = require("eslisp@0.8.1") esl(` (macro intercept (lambda () ; Compile each of the arguments into estree (= estree ((. ((. Array from) arguments) map) (. this compile))) ; Do whatever you like with the estree data ((. console log) estree) (return estree))) (intercept ; Your whole program goes here ((. console log) "hi") ) `)
Loading…

no comments

    sign in to comment