Skip to content

Instantly share code, notes, and snippets.

View streamich's full-sized avatar
🤖
Time to LLM?

Va Da streamich

🤖
Time to LLM?
  • Metaverse
View GitHub Profile
@streamich
streamich / json-expression-grammar.md
Last active July 28, 2024 12:37
JSON Expression Grammar

JSON Expression Grammar

An improvised draft of JSON Expression grammar in ABNF:

JsonExpression = "[" Operator Operands "]"        ; JSON-expression is itself a valid JSON array

Operator = JsonLiteral                            ; Operator is any JSON value, but usually a string

Operands = 1*("," Operand) ; Non-nullary expression has at least one operand