Hacker News new | ask | show | jobs
by pjmlp 1895 days ago
Microsoft has done exactly the same on their MakeCode IoT compiler, using TypeScript and Python.

"MakeCode Languages: Blocks, Static TypeScript and Static Python"

https://makecode.com/language

It is very hard to generate good AOT code when dealing with dynamic languages, of any kind.