Lua or JavaScript as an extension language?

This page summarizes the projects mentioned and recommended in the original post on /r/dotnet

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ClearScript

    A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).

  • I've had good luck with Microsoft's Clearscript - https://github.com/microsoft/ClearScript)

  • Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

  • Others recommended cs script never used it but id imagine its a good option. If wanted to try and do it yourself there is all the tools around the roslyn compiler. That link should be a good start. Funny you mention garrys mod. Facepunch is making a game called s&box (sandbox), in source 2 with c# as it main modding language using roslyn. It even supports hot reloading and its ui is built with the aspnet razor syntax. Regardless, I dont have any advice on using roslyn but it can do enable you to write c# and compile and run that code at runtime.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts