summaryrefslogtreecommitdiff
path: root/llama.cpp/grammars/english.gbnf
blob: 2e53686c8215143477deb5800d4694bf9b07280c (plain)
1
2
3
4
5
6
# note: this might be incomplete, mostly an example
root        ::= en-char+ ([ \t\n] en-char+)*
en-char     ::= letter | digit | punctuation
letter      ::= [a-zA-Z]
digit       ::= [0-9]
punctuation ::= [!"#$%&'()*+,-./:;<=>?@[\\\]^_`{|}~]