File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ product.Stock < 15
27
27
28
28
## Features
29
29
30
- * Seamless integration with Go.
30
+ * Seamless integration with Go (no need to redefine types)
31
31
* Static typing ([ example] ( https://godoc.org/github.com/antonmedv/expr#example-Env ) ).
32
32
``` go
33
- out , err := expr.Eval (" ' hello' + 10" )
33
+ out , err := expr.Eval (` " hello" + 10` )
34
34
// err: invalid operation + (mismatched types string and int)
35
- // | ' hello' + 10
35
+ // | " hello" + 10
36
36
// | ........^
37
37
```
38
38
* User-friendly error messages.
@@ -41,7 +41,7 @@ product.Stock < 15
41
41
``` coffeescript
42
42
all (Tweets, {.Size < 140 })
43
43
```
44
- * Fast ([ benchmarks] ( https://github.com/antonmedv/golang-expression-evaluation-comparison ) ).
44
+ * Fast ([ benchmarks] ( https://github.com/antonmedv/golang-expression-evaluation-comparison ) ): uses bytecode virtual machine and optimizing compiler .
45
45
46
46
## Install
47
47
You can’t perform that action at this time.
0 commit comments