azazel75 / macropy

Macros in Python: quasiquotes, case classes, LINQ and more!
29 stars 4 forks source link

Fix unquoting in block quotation #6

Closed ghost closed 6 years ago

ghost commented 6 years ago

I'm new to Python myself and not sure where the additional [Expr(...)] around the tree in block quotations comes from but this does at least temporarily fix it.

azazel75 commented 6 years ago

hi @daugsten93,

can you please explain what this is all about? thanks

ghost commented 6 years ago

The parser seems to wrap [Expr(...)] around the functions if used in block quotation which results in an expression containing a subscript and this raises an error.