Nim tried this, the feature still exists, but ended up considering it a dead end:
https://forum.nim-lang.org/t/6930
Not to say anything one way or the other about Vale's implementation of the feature, just pointing out some previous efforts in this space for context.