Skip to content

C# bindings for Fabrice Bellard's QuickJS Javascript Engine.

License

Notifications You must be signed in to change notification settings

vovgou/QuickJS.Unity3d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickJS.NET

C# bindings for QuickJS, a JavaScript interpreter written in C by Fabrice Bellard and Charlie Gordon.

Warning: At present, both the original project quickjs and this project are still in the early stage of development. Please use this project carefully in the production environment.

Usage

static void Main()
{
  using (QuickJSRuntime runtime = new QuickJSRuntime())
  using (QuickJSContext context = runtime.CreateContext())
  {
    object result = context.Eval("2 + 2", "script.js", JSEvalFlags.Global);
    Console.WriteLine("2 + 2 = {0}", result);
  }
}

Links

License

MIT

About

C# bindings for Fabrice Bellard's QuickJS Javascript Engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%