cs-script
Roslyn
cs-script | Roslyn | |
---|---|---|
7 | 158 | |
1,542 | 18,528 | |
- | 0.7% | |
8.6 | 10.0 | |
24 days ago | 3 days 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.
cs-script
-
What is the latest on scripting inside of C# (especially for Unity development)?
CS-Script
- [OC] Options for Runtime (Dynamic) Scripting for .NET [C#, Scripting, Modding]
- CSharp script?
-
Visual Studio Code: /bin/sh: line 1: scriptcs: command not found
:: Querying AUR... Repository : aur Name : cs-script Keywords : None Version : 3.28.4.0-1 Description : Run C# sources like scripts URL : https://github.com/oleg-shilo/cs-script AUR URL : https://aur.archlinux.org/packages/cs-script Groups : None Licenses : MIT Provides : None Depends On : mono Make Deps : None Check Deps : None Optional Deps : None Conflicts With : None Maintainer : clofresh Votes : 0 Popularity : 0.000000 First Submitted : Sat 12 Nov 2016 01:56:26 PM GMT Last Modified : Sat 09 Jun 2018 05:18:39 AM BST Out-of-date : No
-
Importing script dynamically in unity
I did something like that in a pure C# game engine using this tool: https://github.com/oleg-shilo/cs-script/wiki
-
Started my C# journey today on MacOS. How do people usually run C# from terminal?
That said, there are some projects like cs-script that provide tools that let you treat C# more like a scripting language and omit that infrastructure. It's just not as feasible or useful as you start to write more complicated application types.
-
C# 9 top-level programs and target-typed expressions
There are third party projects that support this: https://github.com/oleg-shilo/cs-script
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?
dotnet-script - Run C# scripts from the .NET CLI.
Mono-basic - Visual Basic Compiler and Runtime
ClearScript - A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
MSBuild - The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
.NET-Obfuscator - Lists of .NET Obfuscator (Free, Freemium, Paid and Open Source )
F# - Please file issues or pull requests here: https://github.com/dotnet/fsharp
SSharp - S# is a weakly-typed dynamic language and runtime infrastructure to make your applications extendable, customizable and highly flexible. It allows introducing expressions and large code blocks evaluation within your applications in the similar way Microsoft Office deals with VBScript, gives you possibilities providing rich formula evaluation capabilities like it can be seen in MS Excel and other office applications.
ClojureCLR - A port of Clojure to the CLR, part of the Clojure project
ExpressionEvaluator - A Simple Math and Pseudo C# Expression Evaluator in One C# File. Can also execute small C# like scripts
Roslyn-linq-rewrite - Compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code, minimizing allocations and dynamic dispatch.
lizzie - A script language for .Net and the CLR
Bridge.NET - :spades: C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.