ExpressionEvaluator
cs-script
ExpressionEvaluator | cs-script | |
---|---|---|
4 | 7 | |
562 | 1,542 | |
- | - | |
4.9 | 8.6 | |
8 months ago | 27 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.
ExpressionEvaluator
-
parsing strings for calculation
If you don't want to roll your own, there are many existing libraries for this purpose.
- [OC] Options for Runtime (Dynamic) Scripting for .NET [C#, Scripting, Modding]
- Is there any easy way to call a variable through a string?
-
okidoki - markdown editor with C# support
Yup it's in Blazor. For C# evaluation I've used ExpressionEvaluator. I'll probably replace it with Microsoft.CodeAnalysis.CSharp.Scripting library but I had some issues when i try to run it on WASM. I guess it's related to this issue
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
What are some alternatives?
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
dotnet-script - Run C# scripts from the .NET CLI.
Calcpad - Free and open source software for mathematical and engineering calculations.
ClearScript - A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
MathParser.org-mXparser - Math Parser Java Android C# .NET/MONO (.NET Framework, .NET Core, .NET Standard, .NET PCL, Xamarin.Android, Xamarin.iOS) CLS Library - a super easy, rich and flexible mathematical expression parser (expression evaluator, expression provided as plain text / strings) for JAVA and C#. Main features: rich built-in library of operators, constants, math functions, user defined: arguments, functions, recursive functions and general recursion (direct / indirect). Additionally parser provides grammar and internal syntax checking.
.NET-Obfuscator - Lists of .NET Obfuscator (Free, Freemium, Paid and Open Source )
water-shader-unity - Simulation of water in Unity
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.
YoowzxCalc - .NET library for processing of mathematical expressions developed with emphasis on performance and flexibility of use.
lizzie - A script language for .Net and the CLR
Westwind.Scripting - Small C# library to provide dynamic runtime code compilation from source code for code and expressions execution
ScriptCS - Write C# apps with a text editor, nuget and the power of Roslyn!