iris / llama.cpp /grammars /english.gbnf
Mat17892's picture
llamacpp
b664585 verified
raw
history blame contribute delete
242 Bytes
# 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 ::= [!"#$%&'()*+,-./:;<=>?@[\\\]^_`{|}~]