Skip to content

Commit 83d0d20

Browse files
committed
rewriting readme
1 parent e65b9fe commit 83d0d20

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Boolean expression parser in Nom for feature flagging solution
1+
# Flagfile
22

3-
Same as pest parser written with pest.rs here https://github.com/dzhibas/bool_expr_parser but parsed with NOM
3+
it's developer friendly feature flagging solution where you define all your flags in Flagfile in this format: [Flagfile.example](Flagfile.example)
44

5-
Lets say you have activation rule likes this:
5+
its boolean expression parser library which was initially written in pest.rs (https://github.com/dzhibas/bool_expr_parser) and later rewrote everything in Nom rust lib
66

7+
Feature rules can be describe in a expresions similar to all developers and DevOps and does not need any intermediate json format to express these
78
```
89
country == NL and created > 2024-02-15 and userId not in (122133, 122132323, 2323423)
910
```
@@ -16,7 +17,3 @@ dbg!(flag_value);
1617
```
1718

1819
eventually this lib compiles into wasm and used in UI to validate and parse rules, and with FFI exported into other languages to parse and evaluate rules
19-
20-
### Vision for Flagfile example
21-
22-
Please take a look at format and supported features in [Flagfile.example](Flagfile.example)

0 commit comments

Comments
 (0)