Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hashicorp/go-bexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeler committed Apr 3, 2019
2 parents 553f46d + 26ec7e5 commit 50165c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ the `MatchExpressionEvaluator` interface and provide the necessary field configu

Eventually this lib will support handling these cycles automatically.

## Stability

Currently there is a `MatchExpressionEvaluator` interface that can be used to implement custom behavior. This interface should be considered *experimental* and is likely to change in the future. One need for the change is to make it easier for custom implementations to re-invoke the main bexpr logic on subfields so that they do not have to implement custom logic for themselves and every sub field they contain. With the current interface its not really possible.

## Usage (Reflection)

This example program is available in [examples/simple](examples/simple)
Expand Down Expand Up @@ -108,4 +112,4 @@ The [Makefile](Makefile) contains 3 main targets to aid with testing:
even further. The time it takes to run the bench testing suite grows linearly with this value.
* `BENCHTESTS=BenchmarkEvalute` - This is used to run a particular benchmark including all of its
sub-benchmarks. This is just an example and "BenchmarkEvaluate" can be replaced with any
benchmark functions name.
benchmark functions name.

0 comments on commit 50165c7

Please sign in to comment.