aboutsummaryrefslogtreecommitdiff
path: root/grammars/japanese.gbnf
blob: 43f25ab598586d740c3e92066bfad3a2e9e3c562 (plain)
1
2
3
4
5
6
7
# A probably incorrect grammar for Japanese
root        ::= jp-char+ ([ \t\n] jp-char+)*
jp-char     ::= hiragana | katakana | punctuation | cjk
hiragana    ::= [ぁ-ゟ]
katakana    ::= [ァ-ヿ]
punctuation ::= [、-〾]
cjk         ::= [一-鿿]