Results 1 to 5 of 5

Thread: ECMAScript Compiler?

  1. #1
    Join Date
    May 2007
    Location
    USA
    Posts
    373
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default ECMAScript Compiler?

    Is there such a thing as an ECMAScript compiler or some sort of non-web interpreter? If so, where could I find one? I wouldn't mind using js for very small applications.
    Trinithis

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I don't really see the point. It's so limited you can't do anything at all. Just basic operations. I'd assume that Java would be just as easy anyway, for... what? math?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    May 2007
    Location
    USA
    Posts
    373
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Default

    Yeah, for gimicky programs like crunching a few numbers and whatnot. I would also be interested if one has some basic io implementations as well. In all, mostly just for fun.
    Trinithis

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Really, I wonder if you could write one. Depending on what you want, it doesn't seem all that difficult to switch the syntax to Java, etc.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    There are a few -- SpiderMonkey can be compiled to run from the command-line, or there's the Java-based Rhino, or Konqueror's KJS, or the Windows Scripting Host. No compilers though AFAIK.

    They have very few host objects -- if you want to do anything complex you have to extend them.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •