ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and VBScript. Simple usage; create a script engine, add your objects and/or types, run scripts. Support for several script engines: Google's V8, Microsoft's JScript and VBScript. Exposed resources require no modification, decoration, or special coding of any kind. Scripts get simple access to most of the features of exposed objects and types. Full support for generic types and methods, including C#-like type inference and explicit type arguments. Exposed .NET collections support native script iteration mechanisms. Scripts can invoke methods with output parameters, optional parameters, and parameter arrays. Support for exposing all the types defined in one or more assemblies in one step. Optional support for importing types and assemblies from script code.

Features

  • Methods, properties, fields, events
  • (Objects) Indexers, extension methods, conversion operators, explicitly implemented interfaces
  • (Types) Constructors, nested types
  • Script delegates enable callbacks into script code
  • Full support for script debugging
  • Support for .NET 5.0+, .NET Framework 4.5+, .NET Core 3.1, and .NET Standard 2.1.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ClearScript

ClearScript Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ClearScript!

Additional Project Details

Programming Language

C#

Related Categories

C# Software Development Software, C# Libraries

Registered

2022-09-19