Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 529 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 529 Bytes

NearleyGram

Gram is a subject-oriented notation for structured data.

This project is a nearley grammar for gram, providing an EBNF-like description that produces convenient railroad diagrams.

About gram

Gram notation describes subjects, which are like objects with benefits.

There are 3 primary structures which can be defined:

  • independent subjects: (a:Person {name:"ABK"})
  • subject relationships: (a)-[:KNOWS]->(b)-[:WROTE]->(k)
  • associated subjects: [team | a,b,c]