Looking for feedback on new Milescript language

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Husafan
    New Member
    • Oct 2007
    • 2

    Looking for feedback on new Milescript language

    Hello all,

    My company, Point5u, LLC, just went live with our open-source project, Milescript. It's available at http://milescript.org. In a few words, Milescript is an object-oriented, strongly-styped, high-level language that compiles to Javascript. It's aim is to make web application development a robust and repeatable process. It is still in the early stages of development, but we believe it is at a point where a lot of you could find it very useful. We would love to hear any and all feedback as we aim to grow this into a truly community-driven project. Thanks again!
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Welcome to TSDN!

    I'm moving this to the Miscellaneous Discussions forum where this thread is more appropriate.

    Moved from JavaScript/AJAX forum.

    Comment

    • Ganon11
      Recognized Expert Specialist
      • Oct 2006
      • 3651

      #3
      At a glance, I'm very impressed. I've never learned any Javascript, but I know quite a lot of Java and C++. Theoretically, I could now make elaborate JavaScript code without having to learn it at all! Very nice! A few questions:

      1) How close is this to Java or C#? Could I take entire programs written in Java and compile them in Milescript? Will I have to make minor changes to my Java code to compile it in Milescript? Or will I have to completely rewrite the code to compile it in Milescript?

      2) How universal is this? Can I take any OO program and make it into Javascript with this tool, or are there limitations to Milescript's capabilities?

      Comment

      • Husafan
        New Member
        • Oct 2007
        • 2

        #4
        Originally posted by Ganon11
        At a glance, I'm very impressed. I've never learned any Javascript, but I know quite a lot of Java and C++. Theoretically, I could now make elaborate JavaScript code without having to learn it at all! Very nice! A few questions:

        1) How close is this to Java or C#? Could I take entire programs written in Java and compile them in Milescript? Will I have to make minor changes to my Java code to compile it in Milescript? Or will I have to completely rewrite the code to compile it in Milescript?

        2) How universal is this? Can I take any OO program and make it into Javascript with this tool, or are there limitations to Milescript's capabilities?
        Heya mano, thanks for your interest. You are exactly write in your assessment. Our entire goal was to make it possible for people versed in Java and C# to jump right in, while giving current web developers a high-level language to code in. To answer your questions:

        1.) It is much close to Java than it is to C#, however, it does define delegates, which Java has no concept of. Also, Milescript has several keywords Java does not, such as external. However, there are very few of these differences indeed. In fact, if you rename the extension of a Milescript class file to ".java" and open it with Eclipse, you get refactoring support. Also, if you use the Java editor in eclipse to edit Milescript classes, you get syntax highlighting and class hierarchy support. In summation, you should be able to port a Java program to Milescript with very little effort, and one of our coders has done just that for some test projects.

        2.) You should be able to use most, if not all high-level OO patterns. We have tested singleton pattern, mvc, and some others. The only thing to remember is that Javascript is currently single threaded (maybe a work in with google gears to solve this?) so there's no real producer consumer for instance. (Unless ur using something with a native thread, like an XMLHTTPRequest. )

        Hope that helps some!

        Comment

        Working...