You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-8Lines changed: 31 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# expression-evaluator
2
2
3
-
> Expression Evaluator is built for C# .NET and will evaluate math, string and boolean arithmetic expressions given a language template.
3
+
> Expression Evaluator is built for C# .NET and will evaluate math, string and boolean arithmetic expressions given an expression configuration. This can also be used to parse HL7 V2 Messages and more.
4
4
5
5
*[Overview](#overview)
6
6
*[Install](#install)
7
7
*[Usage](#usage)
8
8
9
9
<aname="overview"></a>
10
10
## Overview
11
-
This is a project written in C# that will, given a math, string or boolean expression, evaluate it using built-in Language Templates. Language Templates are what the Expression Evaluator uses when defining math, string, and boolean operators like '+', '-', '||', and so on. The operations are fully customizable. Using Language Templates you can hook into operator events before and after they're evaluated or evaluate the expression yourself with custom logic. The default language template is Python.
11
+
This is a project written in C# that will, given a math, string or boolean expression, evaluate it using built-in Expression Configurations. Expression Configurations are what the Expression Evaluator uses when defining math, string, and boolean operators like '+', '-', '||', and so on. The operations are fully customizable. Using Expression Configurations you can hook into operator events before and after they're evaluated or evaluate the expression yourself with custom logic. The default expression configuration is Python.
12
12
13
13
Not Supported:
14
14
* Single quotes (') as strings. You must use double quotes (") for strings. You can still use single quotes inside strings, and escaped double quotes.
@@ -86,14 +86,14 @@ Example #3: Single boolean value
86
86
// Error = null
87
87
```
88
88
89
-
To create your own LanguageTemplate, inherit from [LanguageTemplateBase](https://github.com/jmoceri34/expression-evaluator/blob/master/ExpressionEvaluator/Io.JoeMoceri.ExpressionEvaluator/LanguageTemplate/LanguageTemplateBase.cs#L5)
89
+
To create your own ExpressionConfiguration, inherit from [ExpressionConfigurationBase](https://github.com/jmoceri34/expression-evaluator/blob/master/ExpressionEvaluator/Io.JoeMoceri.ExpressionEvaluator/ExpressionConfigurations/ExpressionConfigurationBase.cs#L5)
90
90
91
-
Please see Io.JoeMoceri.ExpressionEvaluator.Sample project for usage.
91
+
Please see Io.JoeMoceri.ExpressionEvaluator.Sample project for more.
0 commit comments