ExpressionEvaluator Versions Save

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

1.4.40.0

7 months ago
  • Make shared cache for types resolution thread safe (see #163 Thanks to @stukselbax)
  • Add ScriptEvaluating and ScriptEvaluated events (see #161 Thanks to @Arc-huangjingtong)
  • Add unaryOperatorsDictionary to manage custom operators that are both unaries and binaries better (see #159 and #160 Thanks to @Yazwh0)

1.4.39.0

1 year ago
  • net45 target is now net462 because (net45 is not supported anymore)
  • Match function arguments considering implicit casts (See #148 and #149 Thanks to @israellot)

1.4.38.0

1 year ago
  • OptionInlineNamespacesEvaluationActive become OptionInlineNamespacesEvaluationRule and allow more possibilities with the addition of InlineNamespacesList (See #134 Thanks to @Toxic-Cookie) This option can now be one of those :
    • InlineNamespacesEvaluationRule.AllowAll
    • InlineNamespacesEvaluationRule.AllowOnlyInlineNamespacesList
    • InlineNamespacesEvaluationRule.BlockOnlyInlineNamespacesList
    • InlineNamespacesEvaluationRule.BlockAll
  • Throw better exception and get better exception context with ExceptionDispatchInfo on TargetInvocationException.InnerException and BubbleExceptionContainer (See #124, #141 Thanks to @jl0pd and #138 Thanks to @iisfaq)

1.4.37.0

2 years ago
  • Correction of the explicit cast between primitive types and rounding numbers before (int)3.6 -> 4 now (int)3.6 -> 3 (Thanks to @Crown0815 See #130)

1.4.36.0

2 years ago
  • Correction of creation of instance with new keyword when OptionInlineNamespacesEvaluationActive is set to false (see #127 thanks to @HelgeL)
  • Add the option OptionVariablesPersistenceCustomComparer to reuse variables outside of the evaluator (In this case OptionCaseSensitiveEvaluationActive is not used anymore for variables) (See #126 thanks to @AttilaSzobonya)

1.4.35.0

2 years ago
  • manage no space between new and "{" for new{...} (Thanks to @stg609 see #122)

1.4.34.0

2 years ago
  • Add intellisence documentation

1.4.33.0

2 years ago
  • Fix return null when return within foreach (Thanks to @stg609 see #119)

1.4.32.0

2 years ago
  • Correction of a bug when variable start with new (see #116 and #117 Thanks to @guyleaf)
  • Correction of assignation of strongly typed variables (Not really as C# but better than before) (see #115 Thanks to froggy96)

1.4.31.0

2 years ago
  • Correction of a bug in methods selection (See #110 Thanks to @midgleyc)