Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/kore-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ A sort is either a _sort variable_ or a _sort constructor_ applied to a list of
"\top" "{" <sort> "}" "(" ")"
| "\bottom" "{" <sort> "}" "(" ")"
| "\not" "{" <sort> "}" "(" <pattern> ")"
| "\and" "{" <sort> "}" "(" <pattern> "," <pattern> ")"
| "\or" "{" <sort> "}" "(" <pattern> "," <pattern> ")"
| "\and" "{" <sort> "}" "(" <patterns> ")"
| "\or" "{" <sort> "}" "(" <patterns> ")"
| "\implies" "{" <sort> "}" "(" <pattern> "," <pattern> ")"
| "\iff" "{" <sort> "}" "(" <pattern> "," <pattern> ")"
// Quantifiers
Expand All @@ -213,10 +213,10 @@ A sort is either a _sort variable_ or a _sort constructor_ applied to a list of
| "\right-assoc" "{" "}" "(" <application-pattern> ")"
```

The left-assoc (resp. right-assoc) construct allows a chain of applications of
The `left-assoc` (resp. `right-assoc`) construct allows a chain of applications of
left associative (resp. right associative) binary symbols to be flattened.
For example (simplified), `\and(\and(P1, P2), P3)` can be represented as
`\left-assoc(\and(P1, P2, P3))`.
For example, `foo(foo(P1, P2), P3)` can be represented as
`\left-assoc(foo(P1, P2, P3))`.

### Attributes

Expand Down
Loading