Saul Shanabrook

Notes on "Squid: Type-Safe, Hygienic, and Reusable Quasiquotes"

https://infoscience.epfl.ch/record/231700/files/scala17main-scala17main16-p-bdc7425-34084-final.pdf

This is why we need typed DSL in Python:

Manipulating such an IR is error-prone, as it is easy to con- struct nonsensical terms such as App(Const(1),Const(2)).

How to get quasiquotes in Python?

Thoughts:

But the issue is you also need to store the types at runtime and the regular types aren't good at this...