billstclair / elm-html-template

Turn JSON templates and dictionaries into Elm Html
https://lisplog.org/elm-html-template/
MIT License
6 stars 0 forks source link

Simplify delayed binding in macros #6

Closed billstclair closed 7 years ago

billstclair commented 7 years ago

I invented this complicated mechanism to allow some of a macro's arguments to be evaluated and some not. This will be much simpler to just have a flag, marking a macro as not evaluating its arguments (a fexpr, in old Lisp terminology). It will then be responsible for calling installBindings on all args it needs to evaluate.