Due to confidentiality reasons, I might not be able to describe in pin point details but here is the scenario.
Various devices that have streaming apps have differen
Yes, this is possible, and compilers are often written this way.
The general idea is to create an "intermediate language", then write several one-way translators:
C# => intermediate
JavaScript => intermediate
intermediate => C#
intermediate => JavaScript
Putting the output from one, into the next, you can translate from one language to another:
C# => intermediate => JavaScript
JavaScript => intermediate => C#
Unfortunately the code generated will probably not be human-friendly.