Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zzzprojects/compiler-expression.net
C# Code Compiler | Code Analysis and Code Compiler for Eval-Expression.NET and Eval-SQL.NET
https://github.com/zzzprojects/compiler-expression.net
Last synced: about 2 months ago
JSON representation
C# Code Compiler | Code Analysis and Code Compiler for Eval-Expression.NET and Eval-SQL.NET
- Host: GitHub
- URL: https://github.com/zzzprojects/compiler-expression.net
- Owner: zzzprojects
- License: other
- Created: 2015-10-29T21:28:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T20:51:27.000Z (10 months ago)
- Last Synced: 2024-06-19T23:10:47.378Z (7 months ago)
- Homepage:
- Size: 14.6 KB
- Stars: 11
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C# Code Analysis and Code Compiler for Eval-Expression.NET and Eval-SQL.NET
This library is used in almost all ZZZ Projects to dynamically compile code at runtime using expression tree.
- [Eval Expression.NET](https://eval-expression.net/)
- [Eval SQL.NET](https://eval-sql.net/)### Eval Expression.NET
**Evaluate, Compile and Execute C# code and expression at runtime.**
```csharp
int result = Eval.Execute("X + Y", new { X = 1, Y = 2});
```**[Learn more](https://github.com/zzzprojects/Eval-Expression.NET)**
### Eval SQL.NET
**Evaluate C# code and expression in T-SQL stored procedure, function and trigger.**
```sql
CREATE PROCEDURE [dbo].[select_formula]
AS
BEGIN
SELECT SQLNET::New('X + Y')
.Val('X', ColumnValueX)
.Val('Y', ColumnValueY)
.Eval()
FROM TableFormula
END
```**[Learn more](https://github.com/zzzprojects/Eval-SQL.NET)**
## Download
> This library is not intended to be directy used, if you want to evaluate expression, see [Eval Expression.NET](http://eval-expression.net/) instead.```
PM> Install-Package Z.Expressions.Compiler
```*FREE Version - up to 50 characters
Stay updated with latest changes
## Contribute
The best way to contribute is by **spreading the word** about the library:
- Blog it
- Comment it
- Star it
- Share it
A **HUGE THANKS** for your help.## More Projects
- Projects:
- [EntityFramework Extensions](https://entityframework-extensions.net/)
- [Dapper Plus](https://dapper-plus.net/)
- [C# Eval Expression](https://eval-expression.net/)
- Learn Websites
- [Learn EF Core](https://www.learnentityframeworkcore.com/)
- [Learn Dapper](https://www.learndapper.com/)
- Online Tools:
- [.NET Fiddle](https://dotnetfiddle.net/)
- [SQL Fiddle](https://sqlfiddle.com/)
- [ZZZ Code AI](https://zzzcode.ai/)
- and much more!To view all our free and paid projects, visit our website [ZZZ Projects](https://zzzprojects.com/).