ClearScript
ClearScript copied to clipboard
A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
because can't use addhostobject to add string variable so can't use any string's extension methods even already add thus code: _engine.AddHostType(typeof(StringExtensions));
Hello! I was recently informed about a [strange error](https://github.com/ligershark/WebOptimizer.Sass/issues/55). According to the description (`Value cannot be null. (Parameter 'name')`), this error occurs when reading a resource. And it seems that...
I like to have an option to use `Newtonsoft.JSON` like `JsonConverterAttribute` (optionally added via `CustomAttributeLoader` when i can add atttribute to external objects), so clearscript calls my converter when passing...
A hacky start is at: https://github.com/microsoft/ClearScript/pull/399 But it seems it's still an issue if the engine raises an exception. I've spent a few hours trying different things out and looking...
It seem ClearScript doesn't try to implicit cast the indexer key to the target type, like it's doing for method calls. ```cs [DefaultScriptUsage(ScriptAccess.ReadOnly)] [ImmutableValue] public struct JsUuid { internal readonly...
Swapping out or providing the ability to swap Newtonsoft for System.Text.Json is highly desirable due to performance reasons. The upcoming .Net 7 release and it's AOT mode is very attractive...
This PR partially adds support for using V8 with ClearScript in Android Mono. It is partial because it requires some manual steps, and it uses some solutions which can be...
I'm trying to use ClearScript on HoloLens. **What works:** Clearscript works on Windows in Unity. For that I'm using the dlls from the .net-4.5-build-folder: - Core.dll - V8.dll - Windows.Core.dll...
In our application we execute a lot of global/system scripts before we get to the "user" scripts, and most of the time its only those later scripts that we care...
I tried to run my app in a M1 architecture MacOS. ClearScript seems to be failing to detect that it is running in Arm64 architecture. It is picking the `osx-x64`...