Added support for brackets in boolean expressions (#165)

* added support for brackets in boolean expressions

* more descriptive error messages

* use array slices

* added test for nested expressions

* removed brackets validation step

* address code review comments

* added doc comment

* simplify expression spec

* fixed docs
This commit is contained in:
Ilya Puchka
2018-09-21 22:07:28 +03:00
committed by GitHub
parent 7ed95aec91
commit 2c3962a3de
4 changed files with 140 additions and 29 deletions

View File

@@ -16,6 +16,9 @@
- Now requires Swift 4.1 or newer.
[Yonas Kolb](https://github.com/yonaskolb)
[#228](https://github.com/stencilproject/Stencil/pull/228)
- You can now use parentheses in boolean expressions to change operator precedence.
[Ilya Puchka](https://github.com/ilyapuchka)
[#165](https://github.com/stencilproject/Stencil/pull/165)
### New Features