Skip to content

Commit 20f453e

Browse files
committed
Update README.md
1 parent 7772449 commit 20f453e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ product.Stock < 15
2727

2828
## Features
2929

30-
* Seamless integration with Go.
30+
* Seamless integration with Go (no need to redefine types)
3131
* Static typing ([example](https://godoc.org/github.com/antonmedv/expr#example-Env)).
3232
```go
33-
out, err := expr.Eval("'hello' + 10")
33+
out, err := expr.Eval(`"hello" + 10`)
3434
// err: invalid operation + (mismatched types string and int)
35-
// | 'hello' + 10
35+
// | "hello" + 10
3636
// | ........^
3737
```
3838
* User-friendly error messages.
@@ -41,7 +41,7 @@ product.Stock < 15
4141
```coffeescript
4242
all(Tweets, {.Size < 140})
4343
```
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.
4545

4646
## Install
4747

0 commit comments

Comments
 (0)