Kaynağa Gözat

Adding README

Sebastien Ros 11 yıl önce
ebeveyn
işleme
a56c539fca
1 değiştirilmiş dosya ile 40 ekleme ve 0 silme
  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
+