Best C # JavaScript Translator

I am looking for a good engine that can translate C # source code to a JavaScript equivalent.

+47
javascript c # code-translation
Oct 05 '11 at 20:28
source share
4 answers

You should be aware that for many problems / projects what you offer is unlikely. However, if you want to encode your Javascript in C #, this is the best tool I know for the job: http://scriptsharp.com/

If you want this because you don’t like the syntax, verbosity, classes and types of Javascripts rules (or lack thereof); perhaps you should also look at CoffeeScript . CoffeeScript is all good things in Javascript, and it compiles in Javascript.

Edited 2013-05-26

Anyone reading this answer right now should also know TypeScript , especially if motivation is the best types and type safety.

+27
Oct 05 2018-11-11T00:
source share

Here is a list of languages ​​that are compiled in javascript , including several C # options.

+15
Oct 05 '11 at 20:33
source share

Try Script # . It even supports jQuery and JavaScript unit testing - from C #.

+7
05 Oct '11 at 20:30
source share

Script #: http://scriptsharp.com/

They followed this for a while, as it was quite convincing for me a couple of years ago. The guy is brilliant and his legal project, check it out.

+5
05 Oct 2018-11-11T00:
source share



All Articles