A library that defines core abstractions and types for supporting evaluation.
Package Description
Naive evaluator for C# and F# code based on dotnet/interactive
Dataverse support for the Power Fx interpreter
A library containing evaluators that can be used to evaluate the quality of AI responses in your projects including Relevance, Truth, Completeness, Fluency, Coherence, Retrieval, Equivalence and Groundedness.
Enable seamless execution of LLM (Large Language Model) evaluations using Semantic Kernel. This library provides tools and abstractions for running automated assessments where LLMs serve as judges, offering structured, consistent, and scalable evaluation methods. Ideal for AI-driven projects that require evaluative feedback, scoring, or comparative analysis across various use cases. Easily integrates with Semantic Kernel for smooth, flexible LLM operations in .NET environments.
TeeChart Charting Components for Xamarin.Forms offer full cross-platform support for .NET desktops, Windows Phone, iOS, Android and Universal Windows Platform (UWP) from the same common core charting code. Includes support for Charts, Gauges and Maps all from within the same charting library, with no need to obtain separate product modules.
Runtime expressions parser and evaluator (formulas, conditions, method calls, properties/indexers etc). Builds LINQ expression tree and compiles it to lambda delegate with full support of dynamically typed variables. Source code and examples: https://github.com/nreco/lambdaparser
Unquote is not just another DSL or API for making unit test assertions. Instead, assertions are written as plain, statically-checked F# quoted expressions and test failure messages are given as step-by-step F# expression evaluations. Unquote integrates configuration-free with all exception-based unit testing frameworks including xUnit.net, NUnit, and Expecto. Unquote may even be used within FSI sessions, enabling the direct migration of ad-hoc FSI tests during interactive development to formal test suites. In addition to its unit testing features, Unquote includes operators for evaluating, decompiling, and incrementally reducing quoted expressions.
Simple expression evaluator for C#
A tiny parser and expression evaluator using an alternativ to Dijstra's shunting yard algorithm.
The HTTP Read-Eval-Print Loop (REPL) is a lightweight, cross-platform command-line tool that's supported everywhere .NET Core is supported and is used for making HTTP requests to test ASP.NET Core web APIs and view their results.
Build up Security Headers in a (semi) modular way. To use in an ASP.Net Core web project. In startup.cs - add the following private members to the startup class private SecurityHeaders _securityHeaders { get; set; } private List<CspFrame> _cspFrames { get; set; } And the following two private methods (and alter as you need to). These do reference the samples nuget package. private List<CspFrame> AssembleContentSecurityPolicies() { var defCspFrame = new CspFrame().Initialise("default"); defCspFrame.Clauses .AddUpdateClause("script-src", "", "'unsafe-eval'") .AddUpdateClause("style-src", "", "'unsafe-inline'") .AddUpdateClause("img-src", "", "data:") .AddUpdateClause("plugin-types", "", "application/pdf") .AddUpdateClause("frame-ancestors", "", "'none'") .AddUpdateClause("report-uri", "", "/cspreport"); var basicCdnCspFrame = new CspFrame().Initialise("basicCdn"); basicCdnCspFrame.Clauses .AddUpdateClause("default-src", "", "https://maxcdn.bootstrapcdn.com/") .AddUpdateClause("script-src", "", "https://ajax.googleapis.com/ https://code.jquery.com/ https://cdnjs.cloudflare.com/") .AddUpdateClause("style-src", "", "https://fonts.googleapis.com/") .AddUpdateClause("font-src", "", "https://fonts.gstatic.com/") .AddUpdateClause("img-src", "", "https://csi.gstatic.com/"); var googleMapsCspFrame = new CspFrame().GoogleMaps(); var stripeCspFrame = new CspFrame().Stripe(); return new List<CspFrame> { defCspFrame, basicCdnCspFrame, googleMapsCspFrame, stripeCspFrame }; } /// <summary> /// Returns a merged copy of all relevant CspFrames - adding in the Dev CspFrame if required /// </summary> /// <param name="env"></param> /// <returns></returns> private CspFrame BuildContentSecurityPolicy(IHostingEnvironment env) { if (_cspFrames == null || !_cspFrames.Any()) { _cspFrames = AssembleContentSecurityPolicies(); } // Assemble the master CSP var masterCsp = _cspFrames.Merge(); if (env.IsDevelopment()) { var localhostSp = "localhost:56993/"; var stripe = "http://checkout.stripe.com/"; // Note that this dev CSP includes the http versions for Stripe var devCspFrame = new CspFrame().Initialise("dev"); devCspFrame.Clauses.AddUpdateClause("default-src", "", "http://localhost:5000/") .AddUpdateClause("connect-src", "", "http://" + localhostSp + " ws://" + localhostSp + " " + stripe) .AddUpdateClause("script-src", "", "http://" + localhostSp + " " + stripe); masterCsp = masterCsp.Merge(devCspFrame); } return masterCsp; } Finally include the following in the configuration method just before app.UseMvc( ... // Set up the overall Security Headers // This will also assemble the _cspFrames object if required if (_securityHeaders == null) { _securityHeaders = app.BuildSecurityHeaders(BuildContentSecurityPolicy(env)); } else { _securityHeaders.Csp = BuildContentSecurityPolicy(env); } app.UseSecurityHeaders(_securityHeaders);
Albatross.Expression api is created to process and evaluate text based expression strings. The api tokenizes the expression text and create a tree model from the tokens. Using the model, it can evaluate the expression or convert it to a expression of different format. Some applications revert the process by creating the model first and using it to generate certain expression such as a sql query statement. The api also contains a useful ExecutionContext class that allows evaluation of expressions with variables. The variables can be read internally or directly from external objects.
Support for dynamic code evaluation in Peachpie application. The package enables `eval` and `create_function` in compiled programs.
The TeeChart for Xamarin.Android Charting components offer the most common chart types, gauges and maps with customizable tools for data visualisation in mobile applications.
The TeeChart Charting components for Xamarin.iOS offer a wide range of common and specialized chart types, gauges and maps with customizable tools for data visualization in the mobile applications.
Package Description
A building blocks makes use of standards such as adapter, bridge, decorator, abstract factory and builder and SOLID principles applied also at the package level to allow the creation of components in a decoupled and modular way.
With this library you can evaluate math expressions fast and easily. Expression will be compiled into native code, also you can dynamicly change variables.
Expr Eval (expr-eval) binding library for Bridge.NET projects.
Static Eval (static-eval) binding library for Bridge.NET projects.
Package Description
C# expression parsing and execution library. Designed for AOT runtimes (Unity's IL2CPP, .NET Native, Mono AOT).
Evaluate, Compile and Execute C# code at runtime. Support: Dynamic LINQ, Extension Method, Expando Object, and more! Online Example: https://dotnetfiddle.net/COq6FC Include free and prime features.
Matheval is a mathematical expressions evaluator library for .NET. Allows to evaluate mathematical, boolean, string and datetime expressions on the fly. Official document and usage examples: https://matheval.org/math-expression-eval-for-c-sharp/
Library that can parse equations and recognize user functions and user variables
ExpressionEval is an Expression Evaluator back-office component. Expression are provided as raw string. It enables you to evaluate easily: logical (Or, And and Not), comparison (=, <>, >, <, <=, >=) or calculation (+, -, *, /) in an application. Possible to use variable and function call. The component is configurable: double decimal separator, string tag,...
Evals.Cyan
Simple Math String Parser. Support square, power and eval.
TypeScript Definitions (d.ts) for static-eval. Generated based off the DefinitelyTyped repository [git commit: b14601af3fb2ad72d5048e94188a569a1838fb9c]. http://github.com/DefinitelyTyped
Write Linq With Eval
Simple mathematical expression parser capable of generating IL code to speed up calculations.
Required binary package for using JavaScript.Eval on Linux.
Evaluate, Compile and Execute C# code at runtime. Support: Dynamic LINQ, Extension Method, Expando Object, and more!
Serpent Python literal expression serialization. Serpent provides Python ast.literal_eval() compatible object tree serialization. It serializes an object tree into bytes that can be transferred to Python and decoded there (using ast.literal_eval()). It can ofcourse also deserialize such a Python expression itself, back into the equivalent .NET datatypes. More info for the Python version is on Pypi: https://pypi.python.org/pypi/serpent
Advanced Calculator that can be implemented easily supports the following +*-/^ operations sin,cos,tan,sin-1,cos-1,tan-1,ln,log10 functions !,ncr,npr operations X,Y,Z variables
Required binary package for using JavaScript.Eval on Windows.
Package Description
A simple wrapper around Google Chrome's V8 JavaScript engine.
Required binary package for using JavaScript.Eval on MacOS.