Created many experiments previously to this to figure out LLVM and other tools. Switched to Kotlin recently because adding functionality with C++/Bison/Flex was proving difficult. This means that it requires JVM right now to compile, but when the language is able to self-host, it's probably also easy to do it.
The reason for this is that I don't see any major programming language doing this. Everything seems to be very restricted to const expressions or string manipulation.
Any questions please ask away :)
This feature sounds like one that Jai has? (but Jai doesn't have a public release yet)