Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

1/5

Easy to use C# expression parser and executor.
This package includes source code of parser, compiler and examples.


[Source Code] [Documentation] [Forum Thread]


Use cases:
- Scriptable logic
- Math evaluation (a basic arithmetic)
- Dynamic code execution
Based on System.Linq.Expressions. Documentation and examples are included.


Compatible with:
- Unity 3, Unity 4, Unity 5, Unity 2017, Unity 2018
- PC, Mac, Linux, Unity Editor
- Web Player, WebGL, Windows Store
- iOS, Android, Windows Phone
- IL2CPP


Parser features:
- Arithmetic operations
- Bitwise operations
- Logical operations
- Conditional operator
- Null-coalescing operator
- Method/Delegate/Constructor call
- Property/Field access
- Indexers
- Casting and Conversion
- Is Operator
- As Operator
- TypeOf Operator
- Default Operator
- Expression grouping with parentheses
- Checked/Unchecked scopes
- Aliases for Built-In Types
- Power operator **
- Lambda expressions
- "true", "false", "null"


Supported expressions:
- Any non-lambda expression from System.Linq.Expressions v.3.5.
- System.Func<> and System.Action<> only lambda expressions due limitation of static code compliler.

C# Eval()

(7)
160 users have favourite this asset
(160)
$14.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
198.6 KB
Latest version
2.3.0
Latest release date
Mar 27, 2023
Original Unity version
3.4.0
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR