Skip to content

Commit df444cf

Browse files
authored
Merge pull request #165 from HJJ256/patch-4
Add start_value for json_grammar
2 parents 2f9cca2 + 600a766 commit df444cf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

syncode/parsers/grammars/json_grammar.lark

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// Adapted from https://github.com/lapp0/outlines
2-
?start: value
2+
?start: start_value
3+
4+
?start_value: object
5+
| array
36

47
?value: object
58
| array

0 commit comments

Comments
 (0)