grammars : add English-only grammar
This commit is contained in:
parent
6acce39710
commit
f9bd569a9a
1 changed files with 6 additions and 0 deletions
6
grammars/english.gbnf
Normal file
6
grammars/english.gbnf
Normal file
|
@ -0,0 +1,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 ::= [!"#$%&'()*+,-./:;<=>?@[\\\]^_`{|}~]
|
Loading…
Add table
Add a link
Reference in a new issue