15 lines
270 B
Markdown
15 lines
270 B
Markdown
# Examples
|
|
|
|
## Calculator
|
|
|
|
Fun calculator based on environment variables
|
|
|
|
```
|
|
E=2*2-1-1+5*3-10 cargo run --example calc --all-features
|
|
```
|
|
|
|
Limits (yet):
|
|
|
|
- Supports `*`, `+`, `-`
|
|
- You cannot start from a negative number. `E=-10`. Solution: start from `0`.
|
|
`E=0-10`.
|