1990s Microsoft solved this problem with COM. For example, cscript.exe exposes both VBScript and JS, and they can talk to c++ via the same COM interfaces.
Not the OP, just wanted to say that what you are suggesting is extremely unpopular and controversial here, would you care to expand on your reasoning?