This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
enve/examples/README.md

16 lines
270 B
Markdown
Raw Normal View History

2022-07-22 19:15:38 +03:00
# Examples
## Calculator
Fun calculator based on environment variables
```
E=2*2-1-1+5*3-10 cargo run --example calc --all-features
```
2022-07-24 18:53:04 +03:00
Limits (yet):
2022-07-22 19:15:38 +03:00
- Supports `*`, `+`, `-`
- You cannot start from a negative number. `E=-10`. Solution: start from `0`.
`E=0-10`.