ClearScript
Roslyn
ClearScript | Roslyn | |
---|---|---|
8 | 158 | |
1,659 | 18,528 | |
1.2% | 0.5% | |
5.6 | 10.0 | |
about 1 month ago | about 24 hours ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ClearScript
-
I found a remote code execution bug in VSCode that can be triggered from untrusted workspaces. Microsoft fixed it but marked it as moderate severity and ineligible under their bug bounty program.
Microsoft makes ClearScript
-
Is there a way to dynamically interpret a string as javascript within a C# winforms program?
I've used ClearScript before to use JavaScript as a DSL in a tool. No issues at all. https://github.com/microsoft/ClearScript
- [OC] Options for Runtime (Dynamic) Scripting for .NET [C#, Scripting, Modding]
-
Lua or JavaScript as an extension language?
I've had good luck with Microsoft's Clearscript - https://github.com/microsoft/ClearScript)
-
Scripting languages that use host language's libraries?
The ClearScript library https://github.com/microsoft/ClearScript enables V8, JScript and VBScript to be used as extension languages for .NET languages. Our company uses it extensively and has done so with great success for years. Anything done in C# can be exposed to the scripting language and to some extent back the other way as well.
- What is the/your current/popular choice for dotnet c# scripting ?
-
Compiling source at runtime using dotnet 5
Along the same lines, I use Microsoft ClearScript which uses JavaScript.
- ClearScript: Library to add scripting to .NET applications
Roslyn
-
Asynchronous Programming in C#
My understanding is that the .NET team is working toward this with Interceptors: https://github.com/dotnet/roslyn/blob/main/docs/features/int...
-
The Performance Impact of C++'s `final` Keyword
.NET is a little smarter about switch code generation these days: https://github.com/dotnet/roslyn/pull/66081
-
Generating C# code programmatically
Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi-line string or some template library like scriban. But I searched for a way to generate more and more complicated logic easily - like for example, adding raw SQL handler methods to my pre-generated DBSet-like classes for my ADO.NET experiment. You could now say: Use Roslyn and that's really fine if you look everything up in a website like SharpLab, which shows immediately the syntax tree of our C# code.
- Still No REPL for .NET Core in Visual Studio
-
Roslyn VS Metalama.Compiler - a user suggested alternative
2 projects | 7 Dec 2023
- Por debaixo do capô: async/await e as mágicas do compilador csharp
-
Use Case Driven Development with Low-Code
At runtime, the Case C# expressions are embedded into a function and dynamically compiled into an assembly using the Roslyn C# compiler. Then the function that contains the expression is called (e.g. CaseAvailableFunction.Availablle()). At runtime, the function provides various methods to access stored case values as well as the current input data.
- Interceptors
- Tentative C# 12 feature list · dotnet/roslyn · Discussion #69074
What are some alternatives?
cs-script - C# scripting platform
Mono-basic - Visual Basic Compiler and Runtime
dotnet-script - Run C# scripts from the .NET CLI.
MSBuild - The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
bullseye - 🎯 A .NET library for running a target dependency graph.
F# - Please file issues or pull requests here: https://github.com/dotnet/fsharp
ScriptCS - Write C# apps with a text editor, nuget and the power of Roslyn!
ClojureCLR - A port of Clojure to the CLR, part of the Clojure project
simple-exec - 🏃 A .NET library that runs external commands.
Bridge.NET - :spades: C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.
interactive - .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
Roslyn-linq-rewrite - Compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code, minimizing allocations and dynamic dispatch.