Source-to-source compiler: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Alter: url. URLs might have been anonymized. Add: website. | Use this bot. Report bugs. | Suggested by AManWithNoPlan | #UCB_webform 1101/1354
No edit summary
Line 11:
Transcompilers may either keep translated code structure as close to the source code as possible to ease development and [[debugging]] of the original source code or may change the structure of the original code so much that the translated code does not look like the source code.<ref name="Fowler_2013"/> There are also debugging utilities that map the transcompiled source code back to the original code; for example, the [[JavaScript]] Source Map standard{{Citation needed|reason=Not a standard|date=September 2020}} allows mapping of the JavaScript code executed by a [[web browser]] back to the original source when the JavaScript code was, for example, minified or produced by a transcompiled-to-JavaScript language.{{Citation needed|date=September 2020}}
 
Examples include [[Google Closure Tools|Closure Compiler]], [[CoffeeScript]], [[Dart (programming language)|Dart]], [[Haxe]], [[Ruby_(programming_language)|Opal]], [[TypeScript]] and [[Emscripten]].<ref name="Epic_Games"/>
 
== {{Anchor|Translator}}Assembly language translators ==