4 ms·
Does Python generate ES5 code for maximum compatibility? Or does the Python generate the Typescript which is transpiled to ES6 which is then transpiled to ES5
by nickthemagicman 7y ago
Does Python generate ES5 code for maximum compatibility?
Or does the Python generate the Typescript which is transpiled to ES6 which is then transpiled to ES5 for browser compatibility and the SASS is transpiled to base CSS templates for browser compatibility as well?
What if I'm using web assembly to generate my Python which generates the JS which transpiles to Typescript then to ES6 then to ES5?
I'm a big fan of how flexible all of our web language API's are!
Someone should make one language that transpiles down to Javascript AND Python AND Ruby AND Erlang even! Then you could code in ALL languages with just one language!
Like a terraform for programming languages.
- meddlin 7y agoOne step at a time, there, sparky.
- bryanrasmussen 7y agoand that one language could be Brainf*ck!
- nickthemagicman 7y agoBrainf*ck is great but coding in ArnoldC makes you feel really manly.
- deleted 7y ago[deleted]
- potta_coffee 7y agoAnd then we'll need to find a programmer-hobbit to throw that One Ring into the fire for us.
- athenot 7y ago> Someone should make one language that transpiles down to Javascript AND Python AND Ruby AND Erlang even! Then you could code in ALL languages with just one language! While not hitting all these targets, you might be interested in Nim, which can compile to both machine executable code (via C-family targets) and JavaScript (for the web). https://nim-lang.org/docs/backends.html https://nim-lang.org/docs/backends.html
- excessive 7y ago> Someone should make one language that transpiles down to Javascript AND Python AND Ruby AND Erlang even! Well, not every language, but Haxe has you pretty well covered: https://haxe.org/documentation/introduction/compiler-targets.html https://haxe.org/documentation/introduction/compiler-targets...
- nickthemagicman 7y agoI SOMEHOW KNEW IT WOULD EXIST!