by ralusek · 6y ago · 0 comments
This is a work of art.
There are a lot of uses of compile-time code. One I have been interested in is generating bindings to other languages or generating serialization code, or even generating bytecodes for VMs with specific bytecodes for accessing your native data structures (instead of adding a level of indirection).
Dynamically transforming types could be useful to generate complex types based on other complex types.
This project takes it to the extreme by adding an SQL interface to it