소스 검색

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
+