Skip to content

Commit

Permalink
collapsed membership and ordering together with the member list
Browse files Browse the repository at this point in the history
  • Loading branch information
akollegger committed Oct 2, 2024
1 parent d46dccd commit 9d52439
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 354 deletions.
13 changes: 3 additions & 10 deletions gram.ne
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,16 @@ PatternElement -> (Annotation _):* (Subject | Path)
Subject -> "[" _ Attributes _ Association:? "]"

Association ->
Membership _ IndividualMembers
| Ordering _ PairedMembers
Membership | Ordering

IndividualMembers -> AssociationMember (_ "," _ AssociationMember):*
Membership -> "|" _ AssociationMember (_ "," _ AssociationMember):*

PairedMembers -> AssociationMember (_ "," _ AssociationMember):+
Ordering -> "->" _ AssociationMember (_ "," _ AssociationMember):+

AssociationMember -> (PatternElement | Reference)

Reference -> Identity

Membership -> "|"

Ordering -> "->"

Containment -> "^" _ Symbol _ "^"

Path ->
Node
| Relationship
Expand Down
Loading

0 comments on commit 9d52439

Please sign in to comment.