subscript
ExpressionEvaluator
subscript | ExpressionEvaluator | |
---|---|---|
1 | 4 | |
91 | 564 | |
- | - | |
9.2 | 4.9 | |
13 days ago | 8 months ago | |
JavaScript | C# | |
ISC 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.
subscript
-
Wax compiler – a tiny language designed to transpile to other languages
> The goal of wax is to be a "common subset" of most major imperative programming languages. By lacking the unique fancy features in each of these languages and being as boring as possible, wax transpiles to all of them seamlessly
I love the concept. I was recently studying a very small language called "subscript", with a similar idea they called "common syntax".
> Subscript supports common syntax (shared by JavaScript,C, C++, Java, C#, PHP, Swift, Objective-C, Kotlin, Perl etc.)
https://github.com/dy/subscript
---
Lingdong Huang, the author of Wax language, is a genuine artist of software. His projects are a feast.
https://lingdong.works/
https://github.com/LingDong-
A programming language in Classical Chinese. Procedurally generated flowers, fish drawings, imaginary creatures, landscape paintings. In my mind, he's up there in the Olympian heights with Fabrice Bellard, Justine Tunney, etc., in terms of technical mastery and innovative thinking.
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
What are some alternatives?
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Calcpad - Free and open source software for mathematical and engineering calculations.
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.
water-shader-unity - Simulation of water in Unity
YoowzxCalc - .NET library for processing of mathematical expressions developed with emphasis on performance and flexibility of use.
Westwind.Scripting - Small C# library to provide dynamic runtime code compilation from source code for code and expressions execution
fast-member - Automatically exported from code.google.com/p/fast-member
DynamicExpresso - C# expressions interpreter
ClearScript - A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
Unbreakable - Alive, dammit!
cs-script - C# scripting platform
go-exprtk - Go Mathematical Expression Toolkit. Run-time mathematical expression parser and evaluation engine.