Skip to content

Releases: codingseb/ExpressionEvaluator

1.4.0.0

28 May 09:37
413d3c9
Compare
Choose a tag to compare

Warning some breaking changes in the on the fly variables and function evaluations.

Deep changes to allow more customization

  • Custom operators or custom expression parsing with inheritance (See #27 thanks to @kasajian and Advanced Customization and Hacking)
  • Manage <> in on the fly evaluations to evaluate generic types
  • 2 additional on the fly evaluation (Preevaluation thanks to @lholbert see #35 and On the fly variables and functions evaluation)
  • optionally use var before variable assignation (For better copy paste with C# code)
  • option to globally cache namespaces and types resolution (to speed up multiple evaluation)
  • Correction of Array/collection indexing when using OptionForceIntegernumbersEvaluationsAsDoubleDyDefault=true
  • Some other corrections and refactorings

1.3.7.0

10 Apr 20:18
dba3bf4
Compare
Choose a tag to compare
  • Initialization of ExpandoObjects
  • Create Anonymous (as ExpandoObjects)
anonymous = new { x = 15, y = variable }
  • Better management of struct assignation (Thanks to @AttilaSzobonya for his help see #32)
  • Less memory impact when compare string ignoring case
  • Correction of some bugs when using OptionForceIntegerNumbersEvaluationsAsDoubleByDefault = true (Thanks to @mcicognani see #33)

1.3.6.0

02 Apr 15:11
ca5c6ac
Compare
Choose a tag to compare
  • Change Variables In IDictionary<string,object> (Thanks to @kasajian see #29)
  • Correction of conflict of variable assignation vs on the fly in object with same name

1.3.5.0

28 Mar 21:15
0b4cb7b
Compare
Choose a tag to compare
  • Add OptionForceIntegerNumbersEvaluationsAsDoubleByDefault (if true 1/2 = 0.5 otherwise 1/2 = 0) (Thanks to @Smartis2812 See Issue #25 and the doc here )
  • Correction of a conflict between <> operators and <> used for generics (Thanks to @kasajian for reporting the bug #26)
  • Correction of a bug when imbricate different brackets with comma separators

1.3.4.0

14 Mar 16:16
d107857
Compare
Choose a tag to compare

1.3.3.0

15 Feb 12:36
Compare
Choose a tag to compare

Main improvements

  • Support <> syntax for specify types of generics
  • Support of creation initializers for collections, dictionnaries and objects

Here a few examples of what this version allow to do :

new List<string>() { "text1", "text2" }
new Dictionnary<string, int> { {"seven", 7}, {"nine", 9}}
new Dictionnary<string, int> { ["seven"]= 7, ["nine"] = 9}
new MyObject() { MyStringProperty = "A value", MyIntProperty = 8}

Other changes

  • Add ListOfType Standard function
  • A reference on the current evaluator added in VariableEvaluationEventArg and FunctionEvaluationEventArg
  • Small improvement of the Indexing []

1.3.2.0

19 Jan 20:03
2aef28f
Compare
Choose a tag to compare
  • Support for inline namespaces (More flexible, but slower) (Thanks to Guy Lando for the suggestion) (#19)
  • Option OptionInlineNamespacesEvaluationActive (To unactive inline namespaces)
  • Remove not necessary nugets dependencies

1.3.1.0

10 Jan 15:33
2981c03
Compare
Choose a tag to compare
  • Array initialisation with new type[] { x, y, ...} or new type[2]
  • Correction of multiple bugs with String interpolation, doublequote char and string escape
  • Icon in ReadMe

1.3.0.0

06 Dec 14:44
b5ed900
Compare
Choose a tag to compare
  • Usable Now with .net standard - .netcore (thanks to PhenX for his help)
  • New function ArrayOfType
  • New Icon for nuget

1.2.2.0

31 Oct 15:38
be88848
Compare
Choose a tag to compare
  • ExpandoObjects
  • try catch finally
  • throw
  • Code with diactitics (thanks to LuanDevecchi)