There's still AssemblyScript? It might meet your requirements, unless I'm misunderstanding you or the features of it.
https://www.assemblyscript.org/