Sounds similar to https://mlir.llvm.org/