This is code-generation, not software engineering. It may work for the individual testing it on their system and on users with similar systems, but it won't run reliably on hundreds of millions of heterogenuous systems and it is not suited to being maintained over long timescales.