1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Converting Javascript to Another Language...

Discussion in 'HTML & JavaScript' started by akacash, Feb 17, 2014.

  1. akacash

    akacash Jr. VIP Jr. VIP

    Joined:
    Jan 16, 2010
    Messages:
    806
    Likes Received:
    575
    Location:
    The Beach, USA
    Is it possible, and can I convert it, either directly, or indirectly to anything .net related. Basically I have some Javascript code I'd like to have converted to c# or vb.net ideally. If that's not possible, then is there any language I could use, and then convert that to .net.
     
  2. zappak

    zappak Junior Member

    Joined:
    Mar 8, 2007
    Messages:
    101
    Likes Received:
    9
    It won't be possible. You need to get some coder to work same logic with .net etc.
     
    • Thanks Thanks x 1
  3. akacash

    akacash Jr. VIP Jr. VIP

    Joined:
    Jan 16, 2010
    Messages:
    806
    Likes Received:
    575
    Location:
    The Beach, USA
    Damn lol. My guys are wiz's in .net and pretty good in some others, but Javascript isn't really one of them. Know any good reverse engineers for js by chance?
     
  4. divok

    divok Senior Member

    Joined:
    Jul 21, 2010
    Messages:
    1,015
    Likes Received:
    634
    Location:
    http://twitter.com/divok
    do you want to follow the same process as the javascript script does or do you want the same end result for the same input for .net version as produced by javascript version .

    if its latter then you should simply tell you coders to convert the input to a specified output .
     
  5. washington2010

    washington2010 Regular Member

    Joined:
    Apr 1, 2011
    Messages:
    331
    Likes Received:
    44
    JS professional here... willing to look at your code for free and tell you what you're dealing with. Send me a PM.
     
  6. Chris22

    Chris22 Regular Member

    Joined:
    Sep 29, 2010
    Messages:
    400
    Likes Received:
    1,059
    You can embed V8 or a similar javascript engine inside your .NET app and execute/use the javascript from within your application.
     
  7. akacash

    akacash Jr. VIP Jr. VIP

    Joined:
    Jan 16, 2010
    Messages:
    806
    Likes Received:
    575
    Location:
    The Beach, USA
    Hey guys, thanks for the replies. I did some reading and searching around yesterday, and I know realize why you can't really do what I wanted. I wasn't looking to just swap a few lines of code around, so it's not like someone I could just get a quick fix for. Chris22, you're actually a little closer with what I was thinking, but the one's for .NET dont' seem to be 100% accurate and I don't want to send one of my developers on a wild goose chase because he's at the wrong starting point. Probably going to have to "old fashion" it, and just go line by line. Thanks again though and have a great day everyone.