ExpressionEvaluator Versions Save

A Simple Math and Pseudo C# Expression Evaluator in One C# File. Can also execute small C# like scripts

1.4.30.0

2 years ago
  • BubbleExceptionContainer now throw their exceptions when necessary and are no more concatenate in string. (See #105, Thanks to @TheoVC)
  • The default keyword this is introduce and is automatically set on the Context object (This allow to do indexing and call extentions methods on the context object) (See #104, Thanks to @TheoVC)
  • We can now set a variable to null in PreEvaluateVariable events (See #106 Thanks to @stg609)
  • Double double quotes are now supported in escaped string to escape double quotes @"""" (See #107 Thanks to @stg609)

1.4.29.0

3 years ago
  • Add Multidimensional indexing management like myStuffToIndex[1,4] (#102)

1.4.28.0

3 years ago
  • Correction of a bug : Int32, Int16 and Int64 were not evaluated when OptionCaseSensitiveEvaluationActive = false
  • Array types are now correctly evaluate in typeof and cast ex: typeof(double[]) or (string[])myArray (See #100 )

1.4.27.0

3 years ago
  • Manage Nested Types Part 2 (instanciate with new and casting) (See #95)
  • Cast int to enum now work
  • Use methods name as method group and try to select the good override when used as method parameter (See #98 Thanks to @mgwilliam)
  • Not perfect but better type inference of generic methods parameters

1.4.26.0

3 years ago
  • Manage Nested Types (Ex : Environment.SpecialFolder) (See #95)

1.4.25.0

3 years ago
  • Chain unary operators now works (See issue #80 Thanks to @lofcz)

1.4.24.0

3 years ago
  • Add an event to customize the cast of a method argument (Thanks to @haering for the pull request #91)
  • Add an event to do on the fly indexing something[index]
  • Add 2 events ExpressionEvaluating and ExpressionEvaluated to hook easily each expression evaluation. Allow to modify the expression to evaluate and the corresponding result on the fly.
  • Correction of a bug in method call selection (dateTime.ToString(format) work again)

1.4.23.0

3 years ago
  • Add the option OptionCanDeclareMultiExpressionsLambdaInSimpleExpressionEvaluate (default is true)
  • Allow to declare and call multi expressions lambda in simple expression Evaluate

1.4.22.0

3 years ago
  • Add Support for method call with parameters with default value (See #86)

1.4.21.0

3 years ago
  • Correction of a bug introduced in previous version (Manage implicit cast of method args again) (See #87 Thanks to @leniency)