grammar : remove one nested level

This commit is contained in:
Georgi Gerganov 2023-09-03 19:10:43 +03:00
parent 2d89da4f77
commit 013457885a
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -5,10 +5,10 @@ root ::= arr
value ::= object | array | string | number | ("true" | "false" | "null") ws
arr ::=
"{\n\t[\n" ws (
"[\n" ws (
value
(",\n" ws value)*
)? "\t]\n}"
)? "]"
object ::=
"{" ws (