Skip to content

Commit

Permalink
feat: document the single option in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Feb 9, 2024
1 parent f44b51a commit 3ad0df3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,18 @@ Result 1 out of 1:
----------------------------------------------------
```
#### `--single`
Use `--single` to print a single normalized program.
```sh
# Command
stack run -- --single --rules-yaml ./eo-phi-normalizer/test/eo/phi/rules/yegor.yaml test.phi
# Output
⟦ a ↦ ξ.b (c ↦ ⟦ ⟧).d (ρ ↦ ⟦ b ↦ ⟦ c ↦ ∅, d ↦ ⟦ φ ↦ ξ.ρ.c ⟧ ⟧ ⟧) ⟧
```
## Rulesets
A ruleset describes a set of user-defined rewriting rules.
Expand Down

0 comments on commit 3ad0df3

Please sign in to comment.