Hacker News new | ask | show | jobs
by 89vision 1030 days ago
https://github.com/zio/zio-quill

This library does exactly what you prescribe. Pretty sure under the hood it's using macros with string templates

2 comments

Scala macros and quasiquote templates do have some notable differences to pure strings. The two main ones are:

- the value that's constructed has to be valid code - macro "hygiene" is maintained

Very cool, thank you. Anything in Python?
I tried searching for something similar in python but didn't find much