瀏覽代碼

Adding README

Sebastien Ros 11 年之前
父節點
當前提交
a56c539fca
共有 1 個文件被更改,包括 40 次插入0 次删除
  1. 40 0
      README.md

+ 40 - 0
README.md

@@ -0,0 +1,40 @@
+# Jint
+
+Jint is a Javascript interpreter for .NET. Jint doesn't compile Javascript to .NET bytecode and in this sense might be best suited for projects requiring to run relatively small scripts faster, or which need to run on different platforms.
+
+# Objectives
+
+- Full support for ECMAScript 5.1 - http://www.ecma-international.org/ecma-262/5.1/
+- .NET Portable Class Library - http://msdn.microsoft.com/en-us/library/gg597391(v=vs.110).aspx
+- .NET Interoperability 
+
+# Example
+
+
+    script= @"
+      function square(x) { 
+        return x * x; 
+      };
+  
+    return square(number);
+    ";
+  
+    var result = new JintEngine()
+      .SetParameter("number", 3)
+      .Run(script));
+
+
+You can also check the actual implemented test suite for more samples.
+
+# Roadmap
+
+Status:
+
+- Most of the ECMAScript test suite (http://test262.ecmascript.org/) is passing 
+- You can define custom delegates as Javascript functions
+
+Todo:
+
+- Improve C# interoperability
+- Finish up ECMAScript test suite
+