mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 11:24:35 +00:00
grammar : remove one nested level
This commit is contained in:
parent
2d89da4f77
commit
013457885a
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user